mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 00:20:25 +08:00
[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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user