We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac193bc commit f5ed0b7Copy full SHA for f5ed0b7
llvm/utils/gn/secondary/lld/test/BUILD.gn
@@ -1,5 +1,6 @@
1
import("//llvm/lib/DebugInfo/PDB/enable_dia.gni")
2
import("//llvm/triples.gni")
3
+import("//llvm/utils/gn/build/libs/pthread/enable.gni")
4
import("//llvm/utils/gn/build/libs/xml/enable.gni")
5
import("//llvm/utils/gn/build/libs/zlib/enable.gni")
6
import("//llvm/utils/gn/build/libs/zstd/enable.gni")
@@ -88,6 +89,12 @@ write_lit_cfg("lit_site_cfg") {
88
89
extra_values += [ "LLVM_ENABLE_LIBXML2=0" ] # Must be 0.
90
}
91
92
+ if (llvm_enable_threads) {
93
+ extra_values += [ "LLVM_ENABLE_THREADS=1" ]
94
+ } else {
95
+ extra_values += [ "LLVM_ENABLE_THREADS=0" ] # Must be 0.
96
+ }
97
+
98
if (llvm_enable_zlib) {
99
extra_values += [ "LLVM_ENABLE_ZLIB=1" ]
100
} else {
0 commit comments