From c03a0d95fbc36d9b55fa8706c1f81f7f6e820fbb Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sat, 9 Nov 2024 18:03:19 -0500 Subject: [PATCH] [ci] debug ranlib --- .github/workflows/build_all.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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