Skip to content

Commit 4e01dcc

Browse files
Zentrikgiordano
authored andcommitted
Don't build MLIRExecutionEngineShared on Windows
It doesn't currently build on windows, see llvm#106859.
1 parent 5920c5a commit 4e01dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/ExecutionEngine/CMakeLists.txt

+1-1
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))
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)