From: Inki Dae Date: Fri, 16 Jun 2023 07:14:03 +0000 (+0900) Subject: fix build error on gcc13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fupstream%2Farmcl.git fix build error on gcc13 Change-Id: I4e5f6e33646df371e75168b448a048c6fd28c277 Signed-off-by: Inki Dae --- diff --git a/packaging/0001-fix-build-error-on-gcc13.patch b/packaging/0001-fix-build-error-on-gcc13.patch new file mode 100644 index 000000000..aa1df8735 --- /dev/null +++ b/packaging/0001-fix-build-error-on-gcc13.patch @@ -0,0 +1,53 @@ +From 233359500613d262d98141a7bc385dc17e70febd Mon Sep 17 00:00:00 2001 +From: Inki Dae +Date: Fri, 16 Jun 2023 15:57:14 +0900 +Subject: [PATCH] fix build error on gcc13 + +Signed-off-by: Inki Dae +--- + arm_compute/core/Strides.h | 1 + + arm_compute/core/Types.h | 2 ++ + arm_compute/core/utils/misc/Utility.h | 2 ++ + 3 files changed, 5 insertions(+) + +diff --git a/arm_compute/core/Strides.h b/arm_compute/core/Strides.h +index 265799e41..b59ebb0d6 100644 +--- a/arm_compute/core/Strides.h ++++ b/arm_compute/core/Strides.h +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + namespace arm_compute + { +diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h +index 59ba5aabb..4747ddd31 100644 +--- a/arm_compute/core/Types.h ++++ b/arm_compute/core/Types.h +@@ -38,6 +38,8 @@ + #include + #include + #include ++#include ++#include + #include + + namespace arm_compute +diff --git a/arm_compute/core/utils/misc/Utility.h b/arm_compute/core/utils/misc/Utility.h +index 646d66567..e392e95ef 100644 +--- a/arm_compute/core/utils/misc/Utility.h ++++ b/arm_compute/core/utils/misc/Utility.h +@@ -24,6 +24,8 @@ + #ifndef ARM_COMPUTE_MISC_UTILITY_H + #define ARM_COMPUTE_MISC_UTILITY_H + ++#include ++#include + #include + #include + #include +-- +2.25.1 + diff --git a/packaging/libarmcl.spec b/packaging/libarmcl.spec index 898a6f91a..c1ed96f08 100644 --- a/packaging/libarmcl.spec +++ b/packaging/libarmcl.spec @@ -19,6 +19,8 @@ BuildRequires: scons %define BENCHMARK_TEST 1 %endif +Patch0: 0001-fix-build-error-on-gcc13.patch + %description The ARM Computer Vision and Machine Learning library is a set of functions optimised for both ARM CPUs and GPUs using SIMD technologies @@ -39,6 +41,8 @@ Summary: Sample application and benchmark binaries to test ARM Compute Library %prep %setup -q +%patch0 -p1 + %build cp %{SOURCE1001} .