diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-10 16:30:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-10 16:30:52 +0900 |
| commit | 5992be3dd33f80850583785da3f77f03f761bd77 (patch) | |
| tree | 29b73c018fd42c232be7aa2a695ea61d0db89692 | |
| parent | c661a3b63a6ec6a680338879dccbcb0b6285f6c6 (diff) | |
internal/rosa/package/python: add kernel-headers
Missing kernel headers implicitly disables many useful things. This change also enables PGO and installs symlink, since a rebuild is unavoidable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/package/python/package.az | 4 | ||||
| -rw-r--r-- | internal/rosa/rosa.go | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/internal/rosa/package/python/package.az b/internal/rosa/package/python/package.az index 3cf814bf..602dfee4 100644 --- a/internal/rosa/package/python/package.az +++ b/internal/rosa/package/python/package.az @@ -48,7 +48,9 @@ package python { ]; exec = make { + configure = { "enable-optimizations"; }; check = [ "test" ]; + postInstall = "ln -s python3 /work/system/bin/python"; }; inputs = [ @@ -59,6 +61,8 @@ package python { pkg-config, xz, + + kernel-headers, ]; runtime = [ diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index 64f5b7cf..8a438bd3 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -203,7 +203,7 @@ var absCureScript = AbsSystem.Append(".cure-script") const ( // TExclusive denotes an exclusive [pkg.Artifact]. TExclusive = 1 << iota - // TEarly hints for an early variant of [Toybox] to be used when available. + // TEarly hints for an early variant of toybox to be used when available. TEarly // TNoToolchain excludes the LLVM toolchain. TNoToolchain |
