Skip to content

Commit eb44789

Browse files
committed
Diable MLIR_LINK_MLIR_DYLIB by default, as it causes options be registered more than once
1 parent bb99503 commit eb44789

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ set(MLIR_INSTALL_AGGREGATE_OBJECTS 1 CACHE BOOL
157157

158158
set(MLIR_BUILD_MLIR_C_DYLIB 0 CACHE BOOL "Builds libMLIR-C shared library.")
159159

160-
set(MLIR_LINK_MLIR_DYLIB ${LLVM_LINK_LLVM_DYLIB} CACHE BOOL
160+
# AMD: Disabled, causes options to be registered multiple times
161+
set(MLIR_LINK_MLIR_DYLIB OFF CACHE BOOL
161162
"Link tools against libMLIR.so")
162163

163164
configure_file(

0 commit comments

Comments
 (0)