Skip to content

Commit fa2e0a0

Browse files
committed
arst
1 parent 09e826b commit fa2e0a0

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

.github/actions/v8/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,9 @@ runs:
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

.github/workflows/build-test-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

patches/build/00.windows-mingw-clang

Lines changed: 0 additions & 16 deletions
This file was deleted.

scripts/v8_build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ if [ ${CLANG_BASE_PATH+-} ]; then
6565
is_clang=true
6666
)
6767
elif [ "$PLATFORM" = win32 ]; then
68+
# clang-cl is used.
6869
GN_ARGS+=(is_clang=true)
6970
else
7071
# v8 drops support for gcc wow

0 commit comments

Comments
 (0)