Skip to content

Commit a3fb5e8

Browse files
authored
Fix 'emsdk install sdk-main-64bit' to produce a functioning installation. (#1444)
1 parent 122b38f commit a3fb5e8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

emsdk.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,17 @@ def emscripten_npm_install(tool, directory):
13321332
return False
13331333

13341334
print('Done running: npm ci')
1335+
1336+
if os.path.isfile(os.path.join(directory, 'bootstrap.py')):
1337+
try:
1338+
subprocess.check_output([sys.executable, os.path.join(directory, 'bootstrap.py')],
1339+
cwd=directory, stderr=subprocess.STDOUT, env=env,
1340+
universal_newlines=True)
1341+
except subprocess.CalledProcessError as e:
1342+
errlog('Error running %s:\n%s' % (e.cmd, e.output))
1343+
return False
1344+
1345+
print('Done running: Emscripten bootstrap')
13351346
return True
13361347

13371348

0 commit comments

Comments
 (0)