mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
gn build: (manually) merge r369940
llvm-svn: 369948
This commit is contained in:
parent
19cf48579c
commit
de31ce816c
@ -44,6 +44,7 @@ static_library("Basic") {
|
||||
"Sanitizers.cpp",
|
||||
"SourceLocation.cpp",
|
||||
"SourceManager.cpp",
|
||||
"Stack.cpp",
|
||||
"TargetInfo.cpp",
|
||||
"Targets.cpp",
|
||||
"Targets/AArch64.cpp",
|
||||
|
@ -2,6 +2,7 @@ import("//clang/lib/ARCMigrate/enable.gni")
|
||||
import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
|
||||
import("//llvm/lib/Target/targets.gni")
|
||||
import("//llvm/triples.gni")
|
||||
import("//llvm/utils/gn/build/libs/pthread/enable.gni")
|
||||
import("//llvm/utils/gn/build/libs/zlib/enable.gni")
|
||||
import("//llvm/utils/gn/build/write_cmake_config.gni")
|
||||
import("clang_lit_site_cfg_files.gni")
|
||||
@ -100,6 +101,12 @@ write_lit_config("lit_site_cfg") {
|
||||
# FIXME: Analysis/plugins need global -fPIC
|
||||
extra_values += [ "LLVM_ENABLE_PLUGINS=0" ]
|
||||
}
|
||||
|
||||
if (llvm_enable_threads) {
|
||||
extra_values += [ "LLVM_ENABLE_THREADS=1" ]
|
||||
} else {
|
||||
extra_values += [ "LLVM_ENABLE_THREADS=0" ] # Must be 0.
|
||||
}
|
||||
}
|
||||
|
||||
write_lit_config("lit_unit_site_cfg") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user