Skip to content

Commit

Permalink
Fix Debug build when -DTTMLIR_ENABLE_OPMODEL=ON (#2364)
Browse files Browse the repository at this point in the history
We had a Debug build breakage when -DTTMLIR_ENABLE_OPMODEL=ON on main,
so I am bringing back `fno-rtti` compile option to fix it.
  • Loading branch information
rpavlovicTT authored and odjuricicTT committed Mar 8, 2025
1 parent 6398bf1 commit c4fd52d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/unittests/OpModel/TTNN/Lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ TestOpModelLib.cpp

target_compile_options(TestOpModelLib
PRIVATE
-fno-rtti
)

target_include_directories(TestOpModelLib
Expand Down
1 change: 1 addition & 0 deletions test/unittests/OpModel/TTNN/Op/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ TestOpModelInterface.cpp

target_compile_options(TestOpModelInterface
PRIVATE
-fno-rtti
)

target_include_directories(TestOpModelInterface
Expand Down

0 comments on commit c4fd52d

Please sign in to comment.