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

Stella Laurenzo llvmlistbot at llvm.org
Wed Nov 22 18:44:17 PST 2023


================
@@ -181,6 +181,7 @@ if(LLVM_ENABLE_PIC)
   add_mlir_library(mlir_arm_sme_abi_stubs
     SHARED
     ArmSMEStubs.cpp)
+  target_compile_definitions(mlir_arm_sme_abi_stubs PRIVATE mlir_arm_sme_abi_stubs_EXPORTS)
----------------
stellaraccident wrote:

To work on Windows, yes. There are some ways to tell it to indiscriminately export everything but I don't think we use that.

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


More information about the Mlir-commits mailing list