Skip to content

Commit 2b4d29d

Browse files
author
Menooker
authored
build: add llvm_update_compile_flags and mlir_check_all_link_libraries (#35)
1 parent 432aa52 commit 2b4d29d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
33
set(gc_opt_libs ${dialect_libs} ${conversion_libs} MLIROptLib)
44
add_llvm_executable(gc-opt gc-opt.cpp)
55
target_link_libraries(gc-opt PRIVATE ${gc_opt_libs})
6+
llvm_update_compile_flags(gc-opt)
7+
mlir_check_all_link_libraries(gc-opt)
68

79
add_subdirectory(dnnl)

0 commit comments

Comments
 (0)