internal/rosa/package/python: add kernel-headers
Test / Create distribution (push) Successful in 58s
Test / ShareFS (push) Successful in 7m52s
Test / Sandbox (race detector) (push) Successful in 8m34s
Test / Hakurei (race detector) (push) Successful in 9m42s
Test / Sandbox (push) Successful in 1m28s
Test / Hakurei (push) Successful in 3m43s
Test / Flake checks (push) Successful in 2m46s
Test / Create distribution (push) Successful in 58s
Test / ShareFS (push) Successful in 7m52s
Test / Sandbox (race detector) (push) Successful in 8m34s
Test / Hakurei (race detector) (push) Successful in 9m42s
Test / Sandbox (push) Successful in 1m28s
Test / Hakurei (push) Successful in 3m43s
Test / Flake checks (push) Successful in 2m46s
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>
This commit is contained in:
@@ -48,7 +48,9 @@ package python {
|
|||||||
];
|
];
|
||||||
|
|
||||||
exec = make {
|
exec = make {
|
||||||
|
configure = { "enable-optimizations"; };
|
||||||
check = [ "test" ];
|
check = [ "test" ];
|
||||||
|
postInstall = "ln -s python3 /work/system/bin/python";
|
||||||
};
|
};
|
||||||
|
|
||||||
inputs = [
|
inputs = [
|
||||||
@@ -59,6 +61,8 @@ package python {
|
|||||||
|
|
||||||
pkg-config,
|
pkg-config,
|
||||||
xz,
|
xz,
|
||||||
|
|
||||||
|
kernel-headers,
|
||||||
];
|
];
|
||||||
|
|
||||||
runtime = [
|
runtime = [
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ var absCureScript = AbsSystem.Append(".cure-script")
|
|||||||
const (
|
const (
|
||||||
// TExclusive denotes an exclusive [pkg.Artifact].
|
// TExclusive denotes an exclusive [pkg.Artifact].
|
||||||
TExclusive = 1 << iota
|
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
|
TEarly
|
||||||
// TNoToolchain excludes the LLVM toolchain.
|
// TNoToolchain excludes the LLVM toolchain.
|
||||||
TNoToolchain
|
TNoToolchain
|
||||||
|
|||||||
Reference in New Issue
Block a user