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

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 17:02:34 PST 2022


thakis updated this revision to Diff 477033.
thakis added a comment.
Herald added a project: LLVM.

rebase


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138325/new/

https://reviews.llvm.org/D138325

Files:
  bolt/test/lit.site.cfg.py.in
  llvm/utils/gn/secondary/bolt/test/BUILD.gn


Index: llvm/utils/gn/secondary/bolt/test/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/bolt/test/BUILD.gn
+++ llvm/utils/gn/secondary/bolt/test/BUILD.gn
@@ -55,14 +55,6 @@
   } 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") {
Index: bolt/test/lit.site.cfg.py.in
===================================================================
--- bolt/test/lit.site.cfg.py.in
+++ bolt/test/lit.site.cfg.py.in
@@ -9,7 +9,6 @@
 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@"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138325.477033.patch
Type: text/x-patch
Size: 1138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221122/7fd9f64f/attachment.bin>


More information about the llvm-commits mailing list