this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix debug-macos.sh

alice 576ae5ff 2366466c

+12 -1
+12 -1
debug-macos.sh
··· 110 110 export PATH="/opt/homebrew/opt/llvm/bin:$PATH" 111 111 export LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib" 112 112 export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" 113 + 114 + # Add explicit compiler flags like MacPorts does 115 + CLANG="/opt/homebrew/opt/llvm/bin/clang" 116 + CLANGPP="/opt/homebrew/opt/llvm/bin/clang++" 117 + if [ -z "$CLANG" ] || [ -z "$CLANGPP" ]; then 118 + echo "Homebrew clang or clang++ not found. Please ensure llvm is installed via Homebrew." 119 + exit 1 120 + fi 121 + COMPILER_FLAGS="$COMPILER_FLAGS -DCMAKE_C_COMPILER=$CLANG -DCMAKE_CXX_COMPILER=$CLANGPP" 122 + 113 123 echo 114 - echo "Using clang at $(which clang) and clang++ at $(which clang++) from Homebrew" 124 + echo "Using clang at $CLANG and clang++ at $CLANGPP from Homebrew" 115 125 fi 116 126 117 127 if [ "$STATIC" = true ]; then ··· 147 157 $STATIC_FLAG \ 148 158 -DBUILD_WITH_ALL=On \ 149 159 -DCMAKE_EXPORT_COMPILE_COMMANDS=On \ 160 + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ 150 161 .. && \ 151 162 cmake --build . --config "$BUILD_TYPE" --parallel