Skip to content

Commit

Permalink
disable aie-rt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Aug 29, 2024
1 parent 627f7e1 commit c9c7175
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion cmake/iree_aie_rt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,21 @@ set_target_properties(
target_compile_definitions(xaiengine PRIVATE ${XAIE_DEBUG} __AIECDO__ XAIE_FEATURE_ALL)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
set(xaiengine_c_warning_ignores
-Wno-cast-qual
-Wno-documentation
-Wno-extra-semi-stmt
-Wno-format-pedantic
-Wno-gnu-binary-literal
-Wno-gnu-zero-variadic-macro-arguments
-Wno-implicit-int-conversion
-Wno-incompatible-pointer-types
-Wno-missing-prototypes
-Wno-missing-variable-declarations
-Wno-reserved-identifier
-Wno-reserved-macro-identifier
-Wno-unsafe-buffer-usage
-Wno-unused-but-set-variable
-Wno-incompatible-pointer-types)
-Wno-unused-macros)
target_compile_options(xaiengine PRIVATE ${xaiengine_c_warning_ignores})
endif()
# For <elf.h>
Expand Down

0 comments on commit c9c7175

Please sign in to comment.