Skip to content

Commit

Permalink
trying to enable OpenMP on Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonRayJones committed Feb 27, 2025
1 parent 960613e commit 3b70159
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ jobs:
- name: Get QuEST
uses: actions/checkout@v4

- name: Install libomp
if: ${{ matrix.compiler == 'clang++' && matrix.omp == 'ON' }}
run: |
brew install libomp
- name: Link libomp
if: ${{ matrix.compiler == 'clang++' && matrix.omp == 'ON' }}
run: |
run: echo "OpenMP_ROOT=$(brew --prefix)/opt/libomp" >> $GITHUB_ENV
- name: Make build directory
run: mkdir build_dir

Expand Down

0 comments on commit 3b70159

Please sign in to comment.