Skip to content

Commit

Permalink
Avoid fetch batch for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Creech committed Feb 29, 2024
1 parent 331ab60 commit 41f76ad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions helpers/v8_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from shlex import join as shlexjoin
from shutil import copyfile, rmtree
from subprocess import check_call
from sys import platform
from sys import executable, platform

basicConfig()
LOGGER = getLogger(__name__)
Expand Down Expand Up @@ -89,7 +89,13 @@ def ensure_v8_src(revision):

if not isfile(pathjoin(get_workspace_path(), ".gclient")):
makedirs(get_workspace_path(), exist_ok=True)
run("fetch", "--nohooks", "v8", cwd=get_workspace_path())
run(
executable,
pathjoin(get_workspace_path(), "fetch.py"),
"--nohooks",
"v8",
cwd=get_workspace_path(),
)

run("gclient", "sync", "--revision", f"v8@{revision}", cwd=get_workspace_path())

Expand Down

0 comments on commit 41f76ad

Please sign in to comment.