diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 16181b20..55b94090 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -38,8 +38,6 @@ jobs: tar zxf Xcode10.app.tar.gz rm -rf Xcode10.app.tar.gz sudo xcode-select --print-path - which ar - which ranlib sudo xcode-select -s $PWD/Xcode.app/Contents/Developer/ echo "$PWD/Xcode.app/Contents/Developer/usr/bin" >> $GITHUB_PATH echo "$PWD/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/" >> $GITHUB_PATH @@ -158,7 +156,11 @@ jobs: make AR=g++ BACKEND=cudastatic USERLINKOPT='lib/libzmat.a -Wl,-Bstatic -lgomp -Wl,-Bdynamic' ldd ../bin/mcx elif [[ "$RUNNER_OS" == "macOS" ]]; then - mkdir build && cd build && cmake .. -DCMAKE_AR=/usr/bin/ar -DCMAKE_RANLIB=/usr/bin/ranlib && make VERBOSE=1 && cd .. + ar --version + ranlib --version + ls -l `which ranlib` + ls -l `which ar` + mkdir build && cd build && cmake .. && make VERBOSE=1 && cd .. otool -L ../bin/mcx otool -L ../mcxlab/mcx.mex* else