Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Use env variable for setting homebrew location
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 21, 2023
1 parent dab72a7 commit f596c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/set_compilers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ case $COMPILER in
echo \"Please install Homebrew first\"
exit 1
fi
COMPILER_PREFIX=${COMPILER_PREFIX:-"/opt/homebrew/opt/llvm"}
COMPILER_PREFIX=${COMPILER_PREFIX:-"${HOMEBREW_PREFIX}/opt/llvm"}
CC=${CC:-${COMPILER_PREFIX}/bin/clang}
CXX=${CXX:-${COMPILER_PREFIX}/bin/clang++}
CPP=${CPP:-${COMPILER_PREFIX}/bin/clang-cpp}
Expand Down

0 comments on commit f596c21

Please sign in to comment.