Skip to content

Commit

Permalink
Set appropriate flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sloede committed Apr 29, 2024
1 parent 22f8f86 commit 94344f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ jobs:
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install libomp
# The following paths are required since with Apple Silicon, Homebrew libraries
# are not in the default search path anymore
echo "DYLD_FALLBACK_LIBRARY_PATH=$(brew --prefix libomp)/lib" >> "${GITHUB_ENV}"
echo "LDFLAGS='-L/opt/homebrew/opt/libomp/lib'" >> "${GITHUB_ENV}"
echo "CPPFLAGS='-I/opt/homebrew/opt/libomp/include'" >> "${GITHUB_ENV}"
- uses: julia-actions/setup-julia@v1
id: setup-julia
with:
Expand Down

0 comments on commit 94344f8

Please sign in to comment.