internal/rosa: optionally exclude toolchain in azalea
Test / Create distribution (push) Successful in 51s
Test / Sandbox (push) Successful in 2m46s
Test / Hakurei (push) Failing after 3m21s
Test / ShareFS (push) Successful in 3m48s
Test / Sandbox (race detector) (push) Successful in 5m27s
Test / Hakurei (race detector) (push) Successful in 6m41s
Test / Flake checks (push) Has been skipped
Test / Create distribution (push) Successful in 51s
Test / Sandbox (push) Successful in 2m46s
Test / Hakurei (push) Failing after 3m21s
Test / ShareFS (push) Successful in 3m48s
Test / Sandbox (race detector) (push) Successful in 5m27s
Test / Hakurei (race detector) (push) Successful in 6m41s
Test / Flake checks (push) Has been skipped
This is useful for edge cases where programs rely on gcc bugs to behave correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -82,6 +82,7 @@ ln -s system/lib /work/
|
|||||||
|
|
||||||
mpc,
|
mpc,
|
||||||
zlib,
|
zlib,
|
||||||
|
zstd,
|
||||||
libucontext,
|
libucontext,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -989,6 +989,7 @@ func (ctx *evalContext) pf(
|
|||||||
files []KV
|
files []KV
|
||||||
excl bool
|
excl bool
|
||||||
early bool
|
early bool
|
||||||
|
minimal bool
|
||||||
|
|
||||||
anitya int64
|
anitya int64
|
||||||
kc any
|
kc any
|
||||||
@@ -1019,6 +1020,7 @@ func (ctx *evalContext) pf(
|
|||||||
k("files"): &files,
|
k("files"): &files,
|
||||||
k("exclusive"): &excl,
|
k("exclusive"): &excl,
|
||||||
k("toyboxEarly"): &early,
|
k("toyboxEarly"): &early,
|
||||||
|
k("minimal"): &minimal,
|
||||||
|
|
||||||
k("checksum"): &kc,
|
k("checksum"): &kc,
|
||||||
k("output"): &output,
|
k("output"): &output,
|
||||||
@@ -1118,6 +1120,9 @@ func (ctx *evalContext) pf(
|
|||||||
if early {
|
if early {
|
||||||
attr.Flag |= TEarly
|
attr.Flag |= TEarly
|
||||||
}
|
}
|
||||||
|
if minimal {
|
||||||
|
attr.Flag |= TNoToolchain
|
||||||
|
}
|
||||||
|
|
||||||
if kc != nil {
|
if kc != nil {
|
||||||
checksum, ok := kc.(string)
|
checksum, ok := kc.(string)
|
||||||
|
|||||||
Reference in New Issue
Block a user