From c9c71751ba594d6d6b532de7e2c3ad3883c3f45c Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Wed, 28 Aug 2024 22:45:18 -0500 Subject: [PATCH] disable aie-rt warnings --- cmake/iree_aie_rt.cmake | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/cmake/iree_aie_rt.cmake b/cmake/iree_aie_rt.cmake index 96b9791d2..cf80c6f13 100644 --- a/cmake/iree_aie_rt.cmake +++ b/cmake/iree_aie_rt.cmake @@ -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