Skip to content

Commit c406996

Browse files
committed
Fix gmp build on macOS 26
1 parent 9983837 commit c406996

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
gh release upload ${{ github.event.release.tag_name }} rapidsnark-linux-arm64-${{ github.ref_name }}.zip
243243
244244
build-apple-arm64:
245-
runs-on: macos-14
245+
runs-on: macos-15
246246
steps:
247247
- uses: actions/checkout@v4
248248
with:

build_gmp.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ build_macos_arch()
322322
cd "$BUILD_DIR"
323323
../configure --prefix="${PACKAGE_DIR}" \
324324
CC="$(xcrun --sdk macosx --find clang)" \
325+
CPP_FOR_BUILD="$(xcrun --sdk macosx --find clang) -E" \
325326
CFLAGS="-O3 -isysroot $(xcrun --sdk macosx --show-sdk-path) ${ARCH_FLAGS} -fvisibility=hidden -mmacos-version-min=14.0" \
326327
LDFLAGS="" \
327328
--host "${ARCH}-apple-darwin" --disable-assembly --enable-static --disable-shared --with-pic &&

0 commit comments

Comments
 (0)