Skip to content

Commit

Permalink
try cmake on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Aug 21, 2023
1 parent f7271a0 commit 37952aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ jobs:
make AR=g++ BACKEND=cudastatic USERLINKOPT='lib/libzmat.a -Wl,-Bstatic -lgomp -Wl,-Bdynamic'
ldd ../bin/mcx
elif [[ "$RUNNER_OS" == "macOS" ]]; then
make BACKEND=cudastatic CC=gcc-10 CXX=g++-10
mkdir build && cmake .. && make
make BACKEND=cudastatic
otool -L ../bin/mcx
else
make static
Expand Down

0 comments on commit 37952aa

Please sign in to comment.