- To fix tizen gbs build error on aarch64 ( aarch64 cross build,too)
- related issue : https://github.com/ARM-software/ComputeLibrary/issues/330
Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
# addition for aarch64-linux
set(FLAGS_COMMON ${FLAGS_COMMON}
)
+# remove warning from arm cl
+# https://github.com/ARM-software/ComputeLibrary/issues/330
+set(GCC_VERSION_DISABLE_WARNING 6.0)
+if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER GCC_VERSION_DISABLE_WARNING)
+ message(STATUS "GCC version higher than ${GCC_VERSION_DISABLE_WARNING}")
+ set(FLAGS_CXXONLY ${FLAGS_CXXONLY}
+ "-Wno-ignored-attributes"
+ )
+endif()
# addition for aarch64-tizen
set(FLAGS_COMMON ${FLAGS_COMMON}
)
+# remove warning from arm cl
+# https://github.com/ARM-software/ComputeLibrary/issues/330
+set(GCC_VERSION_DISABLE_WARNING 6.0)
+if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER GCC_VERSION_DISABLE_WARNING)
+ message(STATUS "GCC version higher than ${GCC_VERSION_DISABLE_WARNING}")
+ set(FLAGS_CXXONLY ${FLAGS_CXXONLY}
+ "-Wno-ignored-attributes"
+ )
+endif()