Skip to content

Commit

Permalink
Don't build MLIRExecutionEngineShared on Windows
Browse files Browse the repository at this point in the history
It doesn't currently build on windows, see llvm#106859.
  • Loading branch information
Zentrik authored and giordano committed Oct 8, 2024
1 parent 5920c5a commit 4e01dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/ExecutionEngine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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))
# Build a shared library for the execution engine. Some downstream projects
# use this library to build their own CPU runners while preserving dynamic
# linkage.
Expand Down

0 comments on commit 4e01dcc

Please sign in to comment.