build_osx - exclude arm64 gmp dependency to avoid cross compilation issues

This commit is contained in:
Andrej730
2025-09-26 13:03:20 +05:00
parent f9ee838cd2
commit 7c4505b2fd
+3
View File
@@ -69,6 +69,9 @@ jobs:
if [ "${{ matrix.arch }}" == "x64" ]; then
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
MAC_INTEL=-mac-cross-compile-intel
# We don't use gmpcxx, but it comes preinstalled on macos runner as arm64 bottle
# and CGAL detects it and breaks cross compilation.
brew uninstall --ignore-dependencies gmp
fi
set -o pipefail
CXXFLAGS="-O3" CFLAGS="-O3 ${DARWIN_C_SOURCE}" ADD_COMMIT_SHA=1 BUILD_CFG=Release \