forked from OSchip/llvm-project
[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:
parent
cdb7b804f6
commit
4ffc6f3b83
|
@ -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@"
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue