From a1db2aa40b70f9ec079eaa36a9aae9e1ed685663 Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Sat, 19 Oct 2024 00:13:54 +1300 Subject: [PATCH] 16 --- .github/workflows/build.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1ac40b..53469a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,18 +21,18 @@ jobs: - name: update llvm if: matrix.os == 'macos' run: | - brew install llvm@17 - brew link --overwrite llvm@17 - echo "CC=$(brew --prefix llvm@17)/bin/clang" >> $GITHUB_ENV - echo "CXX=$(brew --prefix llvm@17)/bin/clang++" >> $GITHUB_ENV - echo "LDFLAGS=-L$(brew --prefix llvm@17)/lib" >> $GITHUB_ENV - echo "CPPFLAGS=-I$(brew --prefix llvm@17)/include" >> $GITHUB_ENV - echo "PATH=$(brew --prefix llvm@17)/bin:$PATH" >> $GITHUB_ENV - echo "LD_LIBRARY_PATH=$(brew --prefix llvm@17)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV - echo "PKG_CONFIG_PATH=$(brew --prefix llvm@17)/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV - echo "CMAKE_PREFIX_PATH=$(brew --prefix llvm@17):$CMAKE_PREFIX_PATH" >> $GITHUB_ENV - echo "LLVM_CONFIG_PATH=$(brew --prefix llvm@17)/bin/llvm-config" >> $GITHUB_ENV - echo "LLVM_BIN_PATH=$(brew --prefix llvm@17)/bin" >> $GITHUB_ENV + brew install llvm@16 + brew link --overwrite llvm@16 + echo "CC=$(brew --prefix llvm@16)/bin/clang" >> $GITHUB_ENV + echo "CXX=$(brew --prefix llvm@16)/bin/clang++" >> $GITHUB_ENV + echo "LDFLAGS=-L$(brew --prefix llvm@16)/lib" >> $GITHUB_ENV + echo "CPPFLAGS=-I$(brew --prefix llvm@16)/include" >> $GITHUB_ENV + echo "PATH=$(brew --prefix llvm@16)/bin:$PATH" >> $GITHUB_ENV + echo "LD_LIBRARY_PATH=$(brew --prefix llvm@16)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV + echo "PKG_CONFIG_PATH=$(brew --prefix llvm@16)/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV + echo "CMAKE_PREFIX_PATH=$(brew --prefix llvm@16):$CMAKE_PREFIX_PATH" >> $GITHUB_ENV + echo "LLVM_CONFIG_PATH=$(brew --prefix llvm@16)/bin/llvm-config" >> $GITHUB_ENV + echo "LLVM_BIN_PATH=$(brew --prefix llvm@16)/bin" >> $GITHUB_ENV - name: Checkout Code uses: actions/checkout@v4 with: