-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RUN cmds for 3x TTMetal tests to include "ttmlir-translate --t…
…tmetal-to-flatbuffer" (#603) - Needed after 5d60c17 today otherwise tests don't run on CI - fix linking of ttmlir-translate for macos
- Loading branch information
Showing
4 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
get_property(translation_libs GLOBAL PROPERTY MLIR_TRANSLATION_LIBS) | ||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) | ||
set(LIBS ${translation_libs} ${dialect_libs} TTMLIRTTNNToEmitC TTNNTargetFlatbuffer TTMetalTargetFlatbuffer) | ||
add_llvm_executable(ttmlir-translate ttmlir-translate.cpp) | ||
|
||
llvm_update_compile_flags(ttmlir-translate) | ||
target_link_libraries(ttmlir-translate PRIVATE ${LIBS}) | ||
target_link_libraries(ttmlir-translate PRIVATE | ||
TTNNTargetFlatbuffer | ||
TTMetalTargetFlatbuffer | ||
MLIRTTNNTransforms | ||
TTMLIRTTNNToEmitC | ||
TTMLIRTTKernelToEmitC | ||
) | ||
|
||
mlir_check_link_libraries(ttmlir-translate) |