mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Disable sha1-asm
or zlib-ng
on x86_64 linux (#1236)
Try to fix recent `Illegal instructions` happened in CI. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
3a831a34c6
commit
d4e1f30e8f
1 changed files with 7 additions and 12 deletions
19
justfile
19
justfile
|
@ -74,19 +74,14 @@ support-pkg-config := if target == target-host {
|
|||
if target-os == "linux" { "true" } else { "" }
|
||||
} else { "" }
|
||||
|
||||
enable-git-max-perf-feature := if target == "x86_64-apple-darwin" {
|
||||
"true"
|
||||
#} else if target == "x86_64-unknown-linux-gnu" {
|
||||
# ",zlib-ng"
|
||||
#} else if target == "x86_64-unknown-linux-musl" {
|
||||
# ",zlib-ng"
|
||||
git-max-perf-feature := if target == "x86_64-apple-darwin" {
|
||||
",zlib-ng"
|
||||
} else if target == "aarch64-apple-darwin" {
|
||||
"true"
|
||||
} else if target == "x86_64-unknown-linux-gnu" {
|
||||
"true"
|
||||
} else if target == "x86_64-unknown-linux-musl" {
|
||||
"true"
|
||||
} else {
|
||||
"false"
|
||||
}
|
||||
git-max-perf-feature := if enable-git-max-perf-feature == "true" {
|
||||
",git-max-perf"
|
||||
",zlib-ng"
|
||||
} else if target-os == "windows" {
|
||||
",zlib-ng"
|
||||
} else if target == "aarch64-unknown-linux-gnu" {
|
||||
|
|
Loading…
Add table
Reference in a new issue