Skip to content

Commit

Permalink
use homebrew llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
david-clang authored Sep 17, 2024
1 parent 7977a39 commit 258ec27
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ jobs:
- run: cat .gclient
- run: ls -la
- run: gclient sync && cd v8
- name: Get system Clang/LLVM path
run: echo "CLANG_PATH=$(which clang)" >> $GITHUB_ENV
- name: Get Homebrew LLVM path
run: echo "LLVM_PATH=$(brew --prefix llvm@15)" >> $GITHUB_ENV
- name: Check Homebrew Clang version
run: ${{ env.LLVM_PATH }}/bin/clang --version
- name: Check system Clang version
run: clang --version
- name: Generate build dir
Expand All @@ -120,7 +122,7 @@ jobs:
use_custom_libcxx=false
treat_warnings_as_errors=false
use_lld=false
clang_base_path="'$(which clang | xargs dirname)'"' > v8/out.gn/x64.release/args.gn
clang_base_path="${{ env.LLVM_PATH }}"' > v8/out.gn/x64.release/args.gn
- run: cat v8/out.gn/x64.release/args.gn
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
Expand Down

0 comments on commit 258ec27

Please sign in to comment.