Skip to content

Commit

Permalink
#9735: fix issues with including reflect library
Browse files Browse the repository at this point in the history
  • Loading branch information
cfjchu committed Jun 26, 2024
1 parent 913d109 commit a8e9e22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tt_eager/tt_dnn/op_library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ set(TT_DNN_SRCS

add_library(tt_dnn OBJECT ${TT_DNN_SRCS})

target_link_libraries(tt_dnn PUBLIC metal_header_directories compiler_flags umd_device)
target_link_libraries(tt_dnn PUBLIC metal_header_directories compiler_flags umd_device reflect::reflect)
target_include_directories(tt_dnn PUBLIC
${UMD_HOME}
${PROJECT_SOURCE_DIR}
Expand Down
3 changes: 1 addition & 2 deletions ttnn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ set(TTNN_SRCS
add_library(ttnn_lib OBJECT ${TTNN_SRCS})
target_compile_options(ttnn_lib PUBLIC -MP -Wno-int-to-pointer-cast -fno-var-tracking)
target_link_libraries(ttnn_lib
PUBLIC compiler_flags metal_header_directories metal_common_libs
PRIVATE reflect::reflect
PUBLIC compiler_flags metal_header_directories metal_common_libs reflect::reflect
)
target_include_directories(ttnn_lib PUBLIC
${UMD_HOME}
Expand Down
1 change: 1 addition & 0 deletions ttnn/cpp/ttnn/device_operation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "tt_stl/concepts.hpp"
#include "tt_stl/reflection.hpp"
#include "tt_stl/unique_any.hpp"
#include <reflect>

namespace ttnn {

Expand Down

0 comments on commit a8e9e22

Please sign in to comment.