1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Install sysroot on linux.

This commit is contained in:
Ryan Dahl 2018-07-27 12:06:23 -04:00
parent 37ec079325
commit b44c235579
2 changed files with 11 additions and 0 deletions

View file

@ -7,6 +7,7 @@ import distutils.spawn
third_party.fix_symlinks()
third_party.download_gn()
third_party.download_clang()
third_party.maybe_download_sysroot()
def get_gn_args():

View file

@ -166,3 +166,13 @@ def download_clang():
run(['python',
tp('v8/tools/clang/scripts/update.py'), '--if-needed'],
env=google_env())
def maybe_download_sysroot():
if sys.platform.startswith('linux'):
run([
'python',
tp('v8/build/linux/sysroot_scripts/install-sysroot.py'),
'--arch=amd64'
],
env=google_env())