From 7c4505b2fd38f47be911b1ac0f517b9836c8ccb4 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 26 Sep 2025 13:03:20 +0500 Subject: [PATCH] build_osx - exclude arm64 gmp dependency to avoid cross compilation issues --- .github/workflows/build_osx.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_osx.yml b/.github/workflows/build_osx.yml index 971c1ee3f9..0338dde0f4 100644 --- a/.github/workflows/build_osx.yml +++ b/.github/workflows/build_osx.yml @@ -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 \