Skip to content

Commit

Permalink
And again.
Browse files Browse the repository at this point in the history
  • Loading branch information
adalisk-emikhaylov committed Sep 19, 2024
1 parent 2ff5daa commit c114ec8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/mrbind/install_mrbind_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ rm -rf build
# Add `make` to PATH.
export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"
# Add Clang to PATH.
# I'm not entirely sure why this directory sometimes doesn't exit. It exists on the Mac I tested on, but not on our github runner. Hmm.
if [[ -d "/opt/homebrew/opt/llvm@$CLANG_VER/bin" ]]; then
export PATH="/opt/homebrew/opt/llvm@$CLANG_VER/bin:$PATH"
else
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
fi
export PATH="/opt/homebrew/opt/llvm@$CLANG_VER/bin:$PATH"
ls "/opt/homebrew/opt" || true
ls "/opt/homebrew/opt/llvm@$CLANG_VER" || true
ls "/opt/homebrew/opt/llvm@$CLANG_VER/bin" || true

CC=clang CXX=clang++ cmake -B build
cmake --build build -j4

0 comments on commit c114ec8

Please sign in to comment.