Skip to content

Commit

Permalink
Install libomp for Mac build/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Jul 2, 2024
1 parent 6cc544a commit a9f96b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install libgsl-dev
- name: Install the GSL
- name: Install the GSL and OpenMP
if: matrix.os == 'macos-12'
run: |
brew install gsl
brew install gsl llvm libomp
echo "CFLAGS=-I$(brew --prefix)/include" >> $GITHUB_ENV
echo "LDFLAGS=-L$(brew --prefix)/lib" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$(brew --prefix)/lib" >> $GITHUB_ENV
Expand Down

0 comments on commit a9f96b4

Please sign in to comment.