Skip to content

Commit

Permalink
Hacks to get WASI Python building with VFS
Browse files Browse the repository at this point in the history
  • Loading branch information
pvetere committed Aug 25, 2022
1 parent 32ac98e commit e291f4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tools/wasm/wasm_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@ def _check_execute(self):
def run_build(self, force_configure: bool = False):
"""Run configure (if necessary) and make"""
if force_configure or not self.makefile.exists():
self.run_configure()
pyroot = "/home/pvetere/code/python-wasi-vfs/pyroot"
os.makedirs(pyroot, exist_ok=True)
self.run_configure(f"--prefix={pyroot}")
self.run_make()

def run_configure(self, *args):
Expand Down
1 change: 1 addition & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e291f4e

Please sign in to comment.