We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3689272 commit 7b2dfe1Copy full SHA for 7b2dfe1
llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
@@ -33,6 +33,7 @@ write_lit_config("lit_site_cfg") {
33
34
extra_values = [
35
"CLANG_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
36
+ "LLVM_ENABLE_PLUGINS=0",
37
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
38
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
39
"Python3_EXECUTABLE=$python_path",
@@ -43,6 +44,14 @@ write_lit_config("lit_site_cfg") {
43
44
} else {
45
extra_values += [ "CLANG_TIDY_ENABLE_STATIC_ANALYZER=0" ]
46
}
47
+
48
+ if (host_os == "mac") {
49
+ extra_values += [ "LLVM_PLUGIN_EXT=.dylib" ]
50
+ } else if (host_os == "win") {
51
+ extra_values += [ "LLVM_PLUGIN_EXT=.dll" ]
52
+ } else {
53
+ extra_values += [ "LLVM_PLUGIN_EXT=.so" ]
54
+ }
55
56
57
write_lit_config("lit_unit_site_cfg") {
0 commit comments