Bug 1326486 - build-clang: Install imports and asan symbols only in the final stage r=glandium
Otherwise, PGO builds would fail to find asan at stage2 because the instrumented build uses `LLVM_BUILD_RUNTIME=No`. Differential Revision: https://phabricator.services.mozilla.com/D69082
This commit is contained in:
@@ -428,8 +428,9 @@ def build_one_stage(cc, cxx, asm, ld, ar, ranlib, libtool,
|
||||
]
|
||||
build_package(compiler_rt_build_dir, cmake_args)
|
||||
os.environ['LIB'] = old_lib
|
||||
install_import_library(build_dir, inst_dir)
|
||||
install_asan_symbols(build_dir, inst_dir)
|
||||
if is_final_stage:
|
||||
install_import_library(build_dir, inst_dir)
|
||||
install_asan_symbols(build_dir, inst_dir)
|
||||
|
||||
|
||||
# Return the absolute path of a build tool. We first look to see if the
|
||||
|
||||
Reference in New Issue
Block a user