Correctly set env when updating clang on Windows
This commit is contained in:
Родитель
3056884160
Коммит
cc40aedef6
|
@ -164,8 +164,12 @@ def apply_patches():
|
|||
|
||||
|
||||
def update_clang():
|
||||
env = os.environ.copy()
|
||||
env['PATH'] = os.pathsep.join([os.path.join(VENDOR_DIR, 'depot_tools'),
|
||||
env['PATH']])
|
||||
env['DEPOT_TOOLS_WIN_TOOLCHAIN'] = '0'
|
||||
update = os.path.join(SRC_DIR, 'tools', 'clang', 'scripts', 'update.py')
|
||||
return subprocess.call([sys.executable, update])
|
||||
return subprocess.call([sys.executable, update, '--if-needed'], env=env)
|
||||
|
||||
|
||||
def update_gn():
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c55eecf76bdb96b904aaaee93fe4c67bbbb102d9
|
||||
Subproject commit a5bec845691b95c7b7299f0fd5bfc5fbd016c7fd
|
Загрузка…
Ссылка в новой задаче