mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Install sysroot on linux.
This commit is contained in:
parent
37ec079325
commit
b44c235579
2 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,7 @@ import distutils.spawn
|
||||||
third_party.fix_symlinks()
|
third_party.fix_symlinks()
|
||||||
third_party.download_gn()
|
third_party.download_gn()
|
||||||
third_party.download_clang()
|
third_party.download_clang()
|
||||||
|
third_party.maybe_download_sysroot()
|
||||||
|
|
||||||
|
|
||||||
def get_gn_args():
|
def get_gn_args():
|
||||||
|
|
|
@ -166,3 +166,13 @@ def download_clang():
|
||||||
run(['python',
|
run(['python',
|
||||||
tp('v8/tools/clang/scripts/update.py'), '--if-needed'],
|
tp('v8/tools/clang/scripts/update.py'), '--if-needed'],
|
||||||
env=google_env())
|
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())
|
||||||
|
|
Loading…
Reference in a new issue