File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 3131 - name : Add Homebrew to PATH
3232 run : echo "/opt/homebrew/bin" >> $GITHUB_PATH
3333
34+ - name : Install Xcode Command Line Tools
35+ run : |
36+ sudo xcode-select --install || true
37+ sudo xcode-select -s /Library/Developer/CommandLineTools
38+ export LD=$(xcrun --find ld)
39+ export PATH="/Library/Developer/CommandLineTools/usr/bin:$PATH"
40+
3441 - name : Configure Homebrew clang (symlink for easier access)
3542 run : |
3643 brew unlink llvm && brew link llvm --force --overwrite
5057 -DCMAKE_C_COMPILER="$CC" \
5158 -DCMAKE_CXX_COMPILER="$CXX" \
5259 -DCMAKE_CXX_FLAGS="-stdlib=libc++ -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include" \
60+ -DCMAKE_LINKER=$LD \
5361 -DCMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/opt/libomp/lib -lomp"
5462
5563 - name : Build
You can’t perform that action at this time.
0 commit comments