All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/opencv4: do not detect ccache
@ 2021-08-01 21:53 Fabrice Fontaine
  2021-08-03 15:46 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-08-01 21:53 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

OpenCV-4'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.

Commit 505e7f47715c77d8586444a4fefe4a190b77aaad already applied this
change to opencv3.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/opencv4/opencv4.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk
index 3cc6c05769..040fc63e4e 100644
--- a/package/opencv4/opencv4.mk
+++ b/package/opencv4/opencv4.mk
@@ -49,6 +49,7 @@ endif
 # OpenCV build options
 OPENCV4_CONF_OPTS += \
 	-DBUILD_WITH_STATIC_CRT=OFF \
+	-DENABLE_CCACHE=OFF \
 	-DENABLE_COVERAGE=OFF \
 	-DENABLE_FAST_MATH=ON \
 	-DENABLE_IMPL_COLLECTION=OFF \
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/opencv4: do not detect ccache
  2021-08-01 21:53 [Buildroot] [PATCH 1/1] package/opencv4: do not detect ccache Fabrice Fontaine
@ 2021-08-03 15:46 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-08-03 15:46 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot



On 01/08/2021 23:53, Fabrice Fontaine wrote:
> OpenCV-4'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.
> 
> Commit 505e7f47715c77d8586444a4fefe4a190b77aaad already applied this
> change to opencv3.
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
>  package/opencv4/opencv4.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk
> index 3cc6c05769..040fc63e4e 100644
> --- a/package/opencv4/opencv4.mk
> +++ b/package/opencv4/opencv4.mk
> @@ -49,6 +49,7 @@ endif
>  # OpenCV build options
>  OPENCV4_CONF_OPTS += \
>  	-DBUILD_WITH_STATIC_CRT=OFF \
> +	-DENABLE_CCACHE=OFF \
>  	-DENABLE_COVERAGE=OFF \
>  	-DENABLE_FAST_MATH=ON \
>  	-DENABLE_IMPL_COLLECTION=OFF \
> 
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-03 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01 21:53 [Buildroot] [PATCH 1/1] package/opencv4: do not detect ccache Fabrice Fontaine
2021-08-03 15:46 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.