1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[gn build] kind of merge af2796c76d2f

Good enough for now. If we need more, we'll do the usual
platform-dependent hardcoding that in practice works for everything else
too.
This commit is contained in:
Nico Weber 2021-03-15 17:00:09 -04:00
parent fc6febe595
commit f75a03ef22
3 changed files with 6 additions and 1 deletions

View File

@ -59,6 +59,7 @@ write_lit_config("lit_site_cfg") {
"ENABLE_BACKTRACES=1",
"LLVM_ENABLE_NEW_PASS_MANAGER=1",
"LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_LIT_ERRC_MESSAGES=",
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
"LLVM_USE_SANITIZER=",
"Python3_EXECUTABLE=$python_path",

View File

@ -35,7 +35,10 @@ write_lit_cfg("lit_site_cfg") {
input = "//lld/test/lit.site.cfg.py.in"
output = lld_lit_site_cfg_file
extra_values = [ "LLD_DEFAULT_LD_LLD_IS_MINGW=0" ] # Must be 0.
extra_values = [
"LLD_DEFAULT_LD_LLD_IS_MINGW=0", # Must be 0.
"LLVM_LIT_ERRC_MESSAGES=",
]
if (llvm_enable_dia_sdk) {
extra_values += [ "LLVM_ENABLE_DIA_SDK=1" ]

View File

@ -61,6 +61,7 @@ write_lit_config("lit_site_cfg") {
"LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_LIBS_DIR=" + rebase_path("$root_out_dir/lib", dir),
"LLVM_LINK_LLVM_DYLIB=0",
"LLVM_LIT_ERRC_MESSAGES=",
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
"LLVM_NATIVE_ARCH=$native_target",
"LLVM_USE_INTEL_JITEVENTS=0",