Skip to content

Commit

Permalink
use system llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
david-clang authored Sep 17, 2024
1 parent 77a0903 commit 940c0c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +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: Check system Clang version
run: clang --version
- name: Generate build dir
run: cd v8 && ./tools/dev/v8gen.py x64.release -vv
- run: cd v8 && rm ./out.gn/x64.release/args.gn
Expand All @@ -116,7 +120,7 @@ jobs:
use_custom_libcxx=false
treat_warnings_as_errors=false
use_lld=false
clang_base_path="/usr/local/opt/llvm"' > v8/out.gn/x64.release/args.gn
clang_base_path="$CLANG_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 940c0c4

Please sign in to comment.