Skip to content

Commit

Permalink
dyld_library_path
Browse files Browse the repository at this point in the history
  • Loading branch information
rtobar committed Sep 13, 2023
1 parent 64c6b45 commit 4ef5e93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
HOMEBREW_LIBOMP_PREFIX=`brew --prefix libomp`
OMP_FLAGS="-Xprocessor;-fopenmp;-I${HOMEBREW_LIBOMP_PREFIX}/include"
echo "EXTRA_CMAKE_ARGS=-DOpenMP_C_FLAGS=\"$OMP_FLAGS\" -DOpenMP_C_LIB_NAMES=omp -DOpenMP_CXX_FLAGS=\"$OMP_FLAGS\" -DOpenMP_CXX_LIB_NAMES=omp -DOpenMP_omp_LIBRARY=$HOMEBREW_LIBOMP_PREFIX/lib/libomp.dynlib -DCMAKE_PREFIX_PATH=$HOMEBREW_LIBOMP_PREFIX" >> "$GITHUB_ENV"
echo "DYLD_LIBRARY_PATH=$HOMEBREW_LIBOMP_PREFIX/lib:$DYLD_LIBRARY_PATH" >> "$GITHUB_ENV"
- name: Configure
run: |
Expand Down

0 comments on commit 4ef5e93

Please sign in to comment.