Skip to content

Commit ecb775c

Browse files
committed
Restore Apple ARM OpenMP CI with GCC 15
1 parent f9ab25a commit ecb775c

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/CI-Tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ jobs:
157157
- name: cmake-test-64bit
158158
uses: ./.github/actions/cmake-test
159159
with:
160-
# disable openmp on ARM architecture, see souffle-lang/souffle#2476
161-
cmake-flags: -DSOUFFLE_DOMAIN_64BIT=ON -DSOUFFLE_USE_OPENMP=OFF
160+
cmake-flags: -DSOUFFLE_DOMAIN_64BIT=ON
162161
n-chunks: ${{ needs.Test-Setup.outputs.n-chunks }}
163162
chunk: ${{ matrix.chunk }}
164163

sh/setup/install_macos_arm_deps.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ set -e
88
set -x
99

1010
# Install requirements of MAC OS X
11-
brew install libtool mcpp swig bison libffi
12-
#brew install gcc@13
13-
#brew link gcc@13
11+
brew install libtool mcpp swig bison libffi gcc@15
1412

15-
echo "/usr/local/opt/bison/bin:$PATH" >> $GITHUB_PATH
16-
echo 'PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig/"' >> $GITHUB_ENV
17-
#echo 'CC=gcc-13' >> $GITHUB_ENV
18-
#echo 'CXX=g++-13' >> $GITHUB_ENV
19-
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
13+
echo "$(brew --prefix bison)/bin" >> "$GITHUB_PATH"
14+
echo "PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig" >> "$GITHUB_ENV"
15+
echo "CC=$(brew --prefix gcc@15)/bin/gcc-15" >> "$GITHUB_ENV"
16+
echo "CXX=$(brew --prefix gcc@15)/bin/g++-15" >> "$GITHUB_ENV"
17+
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> "$GITHUB_ENV"
2018

2119
set +e
2220
set +x

0 commit comments

Comments
 (0)