
Reland https://github.com/llvm/llvm-project/pull/150805 Shared libs build was broken. Add `${dialect_libs}` and `${conversion_libs}` to `MLIRRegisterAllExtensions` because it depends on `registerConvert***ToLLVMInterface` functions.
25 lines
410 B
CMake
25 lines
410 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
nativecodegen
|
|
native
|
|
orcjit
|
|
support
|
|
)
|
|
|
|
add_mlir_unittest(MLIRExecutionEngineTests
|
|
DynamicMemRef.cpp
|
|
StridedMemRef.cpp
|
|
Invoke.cpp
|
|
)
|
|
|
|
mlir_target_link_libraries(MLIRExecutionEngineTests
|
|
PRIVATE
|
|
MLIRArithToLLVM
|
|
MLIRMemRefToLLVM
|
|
MLIRReconcileUnrealizedCasts
|
|
MLIRRegisterAllDialects
|
|
)
|
|
target_link_libraries(MLIRExecutionEngineTests
|
|
PRIVATE
|
|
MLIRExecutionEngine
|
|
)
|