Skip to content

Commit b39432a

Browse files
committed
enable OpenMP on OSX-M CI
1 parent 1d96868 commit b39432a

3 files changed

Lines changed: 3 additions & 4 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 -DOpenMP_ROOT=/opt/homebrew/opt/libomp
162161
n-chunks: ${{ needs.Test-Setup.outputs.n-chunks }}
163162
chunk: ${{ matrix.chunk }}
164163

sh/setup/install_macos_arm_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
set -x
99

1010
# Install requirements of MAC OS X
11-
brew install libtool mcpp swig bison libffi
11+
brew install libtool mcpp swig bison libffi libomp
1212
#brew install gcc@13
1313
#brew link gcc@13
1414

sh/setup/install_macos_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
set -x
99

1010
# Install requirements of MAC OS X
11-
brew install bison libtool mcpp libffi swig
11+
brew install bison libtool mcpp libffi swig libomp
1212
brew install gcc@12
1313
brew link gcc@12
1414

0 commit comments

Comments
 (0)