.
This commit is contained in:
@@ -23,7 +23,12 @@ fi
|
||||
# macOS: ensure LLVM from Homebrew is available
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
echo -e "${GREEN}Detected macOS, setting up LLVM...${NC}"
|
||||
brew install llvm
|
||||
if brew list llvm &>/dev/null; then
|
||||
echo -e "${GREEN}LLVM already installed, skipping install${NC}"
|
||||
else
|
||||
echo -e "${YELLOW}LLVM not found, installing via Homebrew...${NC}"
|
||||
brew install llvm
|
||||
fi
|
||||
LLVM_PATH=$(brew --prefix llvm)
|
||||
export AR="${LLVM_PATH}/bin/llvm-ar"
|
||||
export CC="${LLVM_PATH}/bin/clang"
|
||||
|
||||
Reference in New Issue
Block a user