File tree Expand file tree Collapse file tree 4 files changed +4
-19
lines changed
Expand file tree Collapse file tree 4 files changed +4
-19
lines changed Original file line number Diff line number Diff line change 8686 echo ::group::Build v8
8787 case "$PLATFORM" in
8888 darwin)
89- export CLANG_BASE_PATH=$(brew --cellar llvm)/$(brew list --versions llvm | cut -d' ' -f2 | sort -V | head -n1)
89+ export CLANG_BASE_PATH=" $(brew --cellar llvm)/$(brew list --versions llvm | cut -d' ' -f2 | sort -V | head -n1)"
9090 ;;
9191 win32)
92- export CLANG_BASE_PATH=$(dirname $(which clang))/..
9392 export DEPOT_TOOLS_WIN_TOOLCHAIN=0
9493 ;;
9594 esac
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 if : matrix.host.platform == 'linux-gnu'
117117 run : apt-get -qq install --no-install-recommends -y curl; curl -kfsSL https://deb.nodesource.com/setup_24.x | bash -
118118 - name : Toolchain [Linux]
119- uses : laverdet/install@d85f8456c727ae6a488d5a006f4da67accabf21d
119+ uses : laverdet/install@1502f1b253341d42ee2096469c84d52b5f896a38
120120 if : startsWith(matrix.host.platform, 'linux-')
121121 with :
122122 packages : |
@@ -151,6 +151,7 @@ jobs:
151151 echo ::group::Toolchain
152152 # Install updated llvm
153153 winget install --accept-source-agreements --silent -e --id=LLVM.LLVM
154+ # This is the UCRT LLVM build. It seems better but v8's build system is heavily geared for clang-cl.
154155 # winget install --accept-source-agreements --silent -e --id=MartinStorsjo.LLVM-MinGW.UCRT
155156 # ls -d /c/Users/runneradmin/AppData/Local/Microsoft/WinGet/Packages/MartinStorsjo.LLVM-MinGW.UCRT_Microsoft.*/llvm-mingw-*-ucrt-*/bin >> "$GITHUB_PATH"
156157
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ if [ ${CLANG_BASE_PATH+-} ]; then
6565 is_clang=true
6666 )
6767elif [ " $PLATFORM " = win32 ]; then
68+ # clang-cl is used.
6869 GN_ARGS+=(is_clang=true)
6970else
7071 # v8 drops support for gcc wow
You can’t perform that action at this time.
0 commit comments