python{26,3[2-6]}: use supported_archs to exclude arm64

This commit is contained in:
Joshua Root
2024-02-21 04:42:38 +11:00
parent 1be9089902
commit 5233b68a46
6 changed files with 12 additions and 60 deletions
+2 -10
View File
@@ -68,16 +68,8 @@ openssl.branch 1.1
configure.cppflags-prepend -I[openssl::include_dir]
configure.ldflags-prepend -L[openssl::lib_dir]
platform darwin arm {
known_fail yes
if {$build_arch ne "x86_64"} {
pre-fetch {
error "${name} cannot be built for Apple Silicon"
}
depends_build
depends_lib
depends_run
}
if {${os.platform} eq "darwin" && ${os.major} >= 20} {
supported_archs x86_64
}
# blacklist llvm-gcc-4.2 compiler known to produce bad code