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:
Jiahao XU 2023-08-01 21:33:57 +10:00 committed by GitHub
parent 3a831a34c6
commit d4e1f30e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,19 +74,14 @@ support-pkg-config := if target == target-host {
if target-os == "linux" { "true" } else { "" } if target-os == "linux" { "true" } else { "" }
} else { "" } } else { "" }
enable-git-max-perf-feature := if target == "x86_64-apple-darwin" { #} else if target == "x86_64-unknown-linux-gnu" {
"true" # ",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" { } else if target == "aarch64-apple-darwin" {
"true" ",zlib-ng"
} 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"
} else if target-os == "windows" { } else if target-os == "windows" {
",zlib-ng" ",zlib-ng"
} else if target == "aarch64-unknown-linux-gnu" { } else if target == "aarch64-unknown-linux-gnu" {