Skip to content

Commit

Permalink
[ci] debug ranlib
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 9, 2024
1 parent 747a39e commit c03a0d9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c03a0d9

Please sign in to comment.