Skip to content

Commit

Permalink
Update build_wheels_macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbolliet authored Sep 28, 2024
1 parent 9e5c092 commit e789cfa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
chmod +x select_makefile.sh
./select_makefile.sh
make clean
# Check that omp.h is available in the include directory
if [ -f /opt/homebrew/opt/libomp/include/omp.h ]; then
echo "omp.h found"
else
echo "omp.h not found" && exit 1
fi
export LIBRARY_PATH=/opt/homebrew/opt/libomp/lib:$LIBRARY_PATH
export C_INCLUDE_PATH=/opt/homebrew/opt/libomp/include:$C_INCLUDE_PATH
export DYLD_LIBRARY_PATH=/opt/homebrew/opt/libomp/lib:$DYLD_LIBRARY_PATH # (Mac M1 users only)
Expand Down

0 comments on commit e789cfa

Please sign in to comment.