Skip to content

Commit

Permalink
add libomp header path
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 12, 2023
1 parent 654ab24 commit 9026ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
make mex
elif [[ "$RUNNER_OS" == "macOS" ]]; then
make mex CC=clang CXX=clang++ MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp" EXTRALIB="-v -lomp"
make mex CC=clang CXX=clang++ MEXLINKOPT="-static-libstdc++ -static-libgcc -Xpreprocessor -fopenmp" EXTRALIB="-v -lomp -I/usr/local/opt/libomp/include -L/usr/local/opt/libomp/lib"
else
make mex MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp" EXTRALIB="-v"
fi
Expand Down

0 comments on commit 9026ac6

Please sign in to comment.