Skip to content

Commit

Permalink
[MLIR] Don't build MLIRExecutionEngineShared on Windows (llvm#109524)
Browse files Browse the repository at this point in the history
This disabled the build of `MLIRExecutionEngineShared` because this causes linkage issues in windows for currently unknown reasons.
Related issue: llvm#106859.
  • Loading branch information
Zentrik authored Oct 9, 2024
1 parent f020bf1 commit 74e1062
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)) # 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.
Expand Down

0 comments on commit 74e1062

Please sign in to comment.