From 0d53daf7f420184a06f53dbb5bba7fb57b88a4f8 Mon Sep 17 00:00:00 2001 From: Philipp van Kempen Date: Mon, 25 Nov 2024 11:35:36 +0100 Subject: [PATCH] fix compiler warning in tvm integration [skpi ci] --- Integration/tvm/aww/CMakeLists.txt | 1 + Integration/tvm/ic/CMakeLists.txt | 1 + Integration/tvm/toy/CMakeLists.txt | 1 + Integration/tvm/vww/CMakeLists.txt | 1 + 4 files changed, 4 insertions(+) diff --git a/Integration/tvm/aww/CMakeLists.txt b/Integration/tvm/aww/CMakeLists.txt index 8e578fdb..ed2b8dd2 100644 --- a/Integration/tvm/aww/CMakeLists.txt +++ b/Integration/tvm/aww/CMakeLists.txt @@ -83,6 +83,7 @@ else() ) endif() +target_compile_options(${TEST_NAME}_tvm PRIVATE -Wno-incompatible-pointer-types) target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn) diff --git a/Integration/tvm/ic/CMakeLists.txt b/Integration/tvm/ic/CMakeLists.txt index ac77ad39..6d463683 100644 --- a/Integration/tvm/ic/CMakeLists.txt +++ b/Integration/tvm/ic/CMakeLists.txt @@ -82,6 +82,7 @@ else() ${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_output_data_ref.h ) endif() +target_compile_options(${TEST_NAME}_tvm PRIVATE -Wno-incompatible-pointer-types) target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn) diff --git a/Integration/tvm/toy/CMakeLists.txt b/Integration/tvm/toy/CMakeLists.txt index 8c2a666c..7d3b1f32 100644 --- a/Integration/tvm/toy/CMakeLists.txt +++ b/Integration/tvm/toy/CMakeLists.txt @@ -82,6 +82,7 @@ else() ) endif() +target_compile_options(${TEST_NAME}_tvm PRIVATE -Wno-incompatible-pointer-types) target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn) diff --git a/Integration/tvm/vww/CMakeLists.txt b/Integration/tvm/vww/CMakeLists.txt index 64510464..d6f3d09a 100644 --- a/Integration/tvm/vww/CMakeLists.txt +++ b/Integration/tvm/vww/CMakeLists.txt @@ -48,6 +48,7 @@ target_sources(${TEST_NAME}_tvm PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_output_data_ref.cc ${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_output_data_ref.h ) +target_compile_options(${TEST_NAME}_tvm PRIVATE -Wno-incompatible-pointer-types) target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn)