[Mlir-commits] [mlir] [mlir] Workaround for export lib generation on Windows for `mlir_arm_sme_abi_stubs` (PR #73147)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Nov 22 10:37:29 PST 2023


================
@@ -18,6 +33,10 @@
 // a path to an alternate implementation.
 
 extern "C" {
+void MLIR_ARNSMEABISTUBS_EXPORT _mlir_arm_sme_abi_stubs_exportstub() {
+  // TODO: is function is not used, need at least one exported symbol on Windows
+  // to generate export library.
+}
----------------
MacDue wrote:

They're not run as part of pre-commit, but this looks like it should be an NFC on Linux. I can give this patch a quick test tomorrow. 

https://github.com/llvm/llvm-project/pull/73147


More information about the Mlir-commits mailing list