Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Tools/wasm/wasm_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
WASMTOOLS = SRCDIR / "Tools" / "wasm"
BUILDDIR = SRCDIR / "builddir"
CONFIGURE = SRCDIR / "configure"
SETUP_LOCAL = SRCDIR / "Modules" / "Setup.local"
PYBUILDDIR_TXT = SRCDIR / "pybuilddir.txt"

HAS_CCACHE = shutil.which("ccache") is not None

Expand Down Expand Up @@ -860,8 +860,8 @@ def main():
builder.clean(all=False)

# hack for WASI
if builder.host.is_wasi and not SETUP_LOCAL.exists():
SETUP_LOCAL.touch()
if builder.host.is_wasi and not PYBUILDDIR_TXT.exists():
PYBUILDDIR_TXT.touch()

# auto-build
if "build" in args.ops:
Expand Down
Loading