[bolt] Stop setting config.llvm_plugin_ext in lit.site.cfg.py.in

config.llvm_plugin_ext is used by lit to set the %pluginext
substitution. bolt's tests don't use %pluginext, so they don't
need to set config.llvm_plugin_ext.

Differential Revision: https://reviews.llvm.org/D138325
This commit is contained in:
Nico Weber 2022-11-18 16:02:34 -05:00
parent cdb7b804f6
commit 4ffc6f3b83
2 changed files with 0 additions and 9 deletions

View File

@ -9,7 +9,6 @@ config.bolt_enable_runtime = @BOLT_ENABLE_RUNTIME@
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")
config.llvm_shlib_dir = lit_config.substitute("@SHLIBDIR@")
config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.host_triple = "@LLVM_HOST_TRIPLE@"
config.target_triple = "@LLVM_TARGET_TRIPLE@"

View File

@ -55,14 +55,6 @@ write_lit_config("lit_site_cfg") {
} else {
assert(false, "unimplemented host_cpu " + host_cpu)
}
if (host_os == "mac") {
extra_values += [ "LLVM_PLUGIN_EXT=.dylib" ]
} else if (host_os == "win") {
extra_values += [ "LLVM_PLUGIN_EXT=.dll" ]
} else {
extra_values += [ "LLVM_PLUGIN_EXT=.so" ]
}
}
write_lit_config("lit_unit_site_cfg") {