Skip to content

Commit dae0320

Browse files
Zentrikgiordano
authored andcommitted
[MLIR] Don't build MLIRExecutionEngineShared on Windows (llvm#109524)
This disabled the build of `MLIRExecutionEngineShared` because this causes linkage issues in windows for currently unknown reasons. Related issue: llvm#106859. (cherry picked from commit 74e1062)
1 parent dac8621 commit dae0320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/ExecutionEngine/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ add_mlir_library(MLIRExecutionEngine
9797
MLIRTargetLLVMIRExport
9898
)
9999

100-
if(LLVM_BUILD_LLVM_DYLIB)
100+
if(LLVM_BUILD_LLVM_DYLIB AND NOT (WIN32 OR MINGW OR CYGWIN)) # Does not build on windows currently, see #106859
101101
# Build a shared library for the execution engine. Some downstream projects
102102
# use this library to build their own CPU runners while preserving dynamic
103103
# linkage.

0 commit comments

Comments
 (0)