Skip to content

Commit

Permalink
add libomp for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 12, 2023
1 parent b7a60b7 commit 37ad5e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
if: ${{ runner.os == 'macOS' }}
run: |
brew install octave
brew link --force libomp
- name: Link libgomp.a (MacOS only)
if: ${{ runner.os == 'macOS' }}
run: |
Expand Down Expand Up @@ -83,8 +84,6 @@ jobs:
cd src
if [[ "$RUNNER_OS" == "Windows" ]]; then
make mex
elif [[ "$RUNNER_OS" == "macOS" ]]; then
make mex CC=gcc-10 CXX=g++-10 MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp"
else
make mex MEXLINKOPT="-static-libstdc++ -static-libgcc -fopenmp"
fi
Expand Down

0 comments on commit 37ad5e4

Please sign in to comment.