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

Mehdi Amini llvmlistbot at llvm.org
Wed Nov 22 18:23:28 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)
----------------
joker-eph wrote:

The case is surprising to me, is this something we do in the other libs?

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


More information about the Mlir-commits mailing list