[Mlir-commits] [mlir] 74e1062 - [MLIR] Don't build MLIRExecutionEngineShared on Windows (#109524)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Oct 9 12:43:14 PDT 2024
Author: Zentrik
Date: 2024-10-09T21:43:11+02:00
New Revision: 74e1062e34542c6c43293da51ad6e1c7d41ced2c
URL: https://github.com/llvm/llvm-project/commit/74e1062e34542c6c43293da51ad6e1c7d41ced2c
DIFF: https://github.com/llvm/llvm-project/commit/74e1062e34542c6c43293da51ad6e1c7d41ced2c.diff
LOG: [MLIR] Don't build MLIRExecutionEngineShared on Windows (#109524)
This disabled the build of `MLIRExecutionEngineShared` because this causes linkage issues in windows for currently unknown reasons.
Related issue: https://github.com/llvm/llvm-project/issues/106859.
Added:
Modified:
mlir/lib/ExecutionEngine/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/ExecutionEngine/CMakeLists.txt b/mlir/lib/ExecutionEngine/CMakeLists.txt
index a091944b9ee7df..7fc17b97f0c56f 100644
--- a/mlir/lib/ExecutionEngine/CMakeLists.txt
+++ b/mlir/lib/ExecutionEngine/CMakeLists.txt
@@ -97,7 +97,7 @@ add_mlir_library(MLIRExecutionEngine
MLIRTargetLLVMIRExport
)
-if(LLVM_BUILD_LLVM_DYLIB)
+if(LLVM_BUILD_LLVM_DYLIB AND NOT (WIN32 OR MINGW OR CYGWIN)) # Does not build on windows currently, see #106859
# Build a shared library for the execution engine. Some downstream projects
# use this library to build their own CPU runners while preserving dynamic
# linkage.
More information about the Mlir-commits
mailing list