[Buildroot] [git commit branch/2020.08.x] package/opencv3: do not detect ccache

Peter Korsgaard peter at korsgaard.com
Sun Dec 27 13:20:23 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=76736ca80a1172dcd405dac5f09e78981473008b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.x

OpenCV-3's buildsystem will try to detect ccache and use it if
available. This may yield a system-installed ccache.

However, in Buildroot, ccache is entirely hidden away and handled in the
toolchain wrapper.

Forcibly disable detection of ccache.

Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Cc: Samuel Martin <s.martin49 at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 505e7f47715c77d8586444a4fefe4a190b77aaad)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/opencv3/opencv3.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/opencv3/opencv3.mk b/package/opencv3/opencv3.mk
index 24def546f2..865f69ac8f 100644
--- a/package/opencv3/opencv3.mk
+++ b/package/opencv3/opencv3.mk
@@ -46,6 +46,7 @@ endif
 # OpenCV build options
 OPENCV3_CONF_OPTS += \
 	-DBUILD_WITH_STATIC_CRT=OFF \
+	-DENABLE_CCACHE=OFF \
 	-DENABLE_COVERAGE=OFF \
 	-DENABLE_FAST_MATH=ON \
 	-DENABLE_IMPL_COLLECTION=OFF \


More information about the buildroot mailing list