package/opencv4: do not detect ccache
PATCH 1/1 package/opencv4: do not detect ccache
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.
--- package/opencv4/opencv4.mk | 1 + 1 file changed, 1 insertion(+)
package/opencv4/opencv4.mk +1 -0
@@ -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 \
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] http://lists.busybox.net/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 6 lines · 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.
Quoted 6 lines
Forcibly disable detection of ccache.
Commit
505e7f47715c77d8586444a4fefe4a190b77aaadalready applied this change to opencv3.Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 10 lines
--- package/opencv4/opencv4.mk | 1 + 1 file changed, 1 insertion(+)package/opencv4/opencv4.mk +0
-0
package/opencv4/opencv4.mk endif · line 55
Quoted 7 lines
package/opencv4/opencv4.mk +1
-0@@ -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
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot