File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ write_lit_config("lit_site_cfg") {
33
33
34
34
extra_values = [
35
35
" CLANG_TOOLS_DIR=" + rebase_path (" $root_out_dir /bin" ),
36
+ " LLVM_ENABLE_PLUGINS=0" ,
37
+ " LLVM_INSTALL_TOOLCHAIN_ONLY=0" ,
36
38
" LLVM_LIT_TOOLS_DIR=" , # Intentionally empty, matches cmake build.
37
39
" LLVM_TOOLS_DIR=" + rebase_path (" $root_out_dir /bin" ),
38
40
" Python3_EXECUTABLE=$python_path " ,
@@ -43,6 +45,14 @@ write_lit_config("lit_site_cfg") {
43
45
} else {
44
46
extra_values += [ " CLANG_TIDY_ENABLE_STATIC_ANALYZER=0" ]
45
47
}
48
+
49
+ if (host_os == " mac" ) {
50
+ extra_values += [ " LLVM_PLUGIN_EXT=.dylib" ]
51
+ } else if (host_os == " win" ) {
52
+ extra_values += [ " LLVM_PLUGIN_EXT=.dll" ]
53
+ } else {
54
+ extra_values += [ " LLVM_PLUGIN_EXT=.so" ]
55
+ }
46
56
}
47
57
48
58
write_lit_config (" lit_unit_site_cfg" ) {
You can’t perform that action at this time.
0 commit comments