Skip to content

Commit

Permalink
link libzmat
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 14, 2023
1 parent 2e3894b commit 4c6f392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: |
cd src
if [[ "$RUNNER_OS" == "Windows" ]]; then
make mex USERARFLAGS="-v"
make mex EXTRALIB="-static-libstdc++ -static-libgcc -Wl,-Bdynamic -lOpenCL -Wl,-Bstatic libzmat.a -lm -lz -v"
objdump -p ../mmclab/mmc.mexw* | grep "DLL Name:"
elif [[ "$RUNNER_OS" == "macOS" ]]; then
which mex
Expand All @@ -103,7 +103,7 @@ jobs:
make CC=gcc-10 CXX=g++-10
otool -L bin/mmc
else
make CC=gcc CXX=g++ USERARFLAGS="-Lc:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/lib -Lc:/ghcup/ghc/9.0.2/mingw/lib -Lc:/ghcup/ghc/9.0.2/mingw/x86_64-w64-mingw32/lib libzmat.a -lz"
make CC=gcc CXX=g++ USERARFLAGS="-static-libstdc++ -static-libgcc -Wl,-Bdynamic -lOpenCL -Wl,-Bstatic libzmat.a -lz"
ldd bin/mmc
fi
- name: Create package folder
Expand Down

0 comments on commit 4c6f392

Please sign in to comment.