Skip to content

Commit

Permalink
16
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Oct 18, 2024
1 parent 87f7f4c commit a1db2aa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a1db2aa

Please sign in to comment.