From 747a39e5c8d8478b752a02891051352039f8afe2 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sat, 9 Nov 2024 17:18:54 -0500 Subject: [PATCH] [ci] specify clang ar/ranlib --- .github/workflows/build_all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index eefe99b3..16181b20 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -158,7 +158,7 @@ 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 .. && make VERBOSE=1 && cd .. + mkdir build && cd build && cmake .. -DCMAKE_AR=/usr/bin/ar -DCMAKE_RANLIB=/usr/bin/ranlib && make VERBOSE=1 && cd .. otool -L ../bin/mcx otool -L ../mcxlab/mcx.mex* else