All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell/master][PATCH] opencv: drop deprecated bbappend for DSP-offloading
@ 2021-03-16 19:58 Denys Dmytriyenko
  2021-03-17  1:22 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2021-03-16 19:58 UTC (permalink / raw)
  To: meta-arago; +Cc: Denys Dmytriyenko

From: Denys Dmytriyenko <denys@konsulko.com>

DSP-offloading to OpenCL hasn't been updated for ~3 years [1] and is based
on version 3.1, which is no longer available. Remove remaining bbappend.

[1] https://git.ti.com/cgit/opencv/tiopencv/log/?h=tiopencvrelease_3.1

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../recipes-support/opencv/opencv_3.1.bbappend     | 41 ----------------------
 1 file changed, 41 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend

diff --git a/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend b/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
deleted file mode 100644
index a87e832..0000000
--- a/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
+++ /dev/null
@@ -1,41 +0,0 @@
-PR = "r3"
-
-BRANCH = "tiopencvrelease_3.1"
-
-SRC_URI_remove = "git://github.com/Itseez/opencv.git;name=opencv"
-SRC_URI_prepend = "git://git.ti.com/opencv/tiopencv.git;protocol=git;branch=${BRANCH};name=opencv"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI_append += "\
-     file://setupEnv.sh \
-"
-
-SRCREV_opencv = "102577cf10416ca8180adda88d3fd801eebc6318"
-
-DEPENDS_remove_keystone = "qtbase"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PACKAGECONFIG_QTWAYLAND = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
-PACKAGECONFIG_QTWAYLAND_keystone = ""
-
-PACKAGECONFIG_append = " ${PACKAGECONFIG_QTWAYLAND} \
-                         ${@bb.utils.contains('MACHINE_FEATURES','dsp','opencl', '', d)} \
-"
-
-PACKAGECONFIG_remove = "python3"
-PACKAGECONFIG_remove = "python2"
-
-inherit cmake_qt5
-
-PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON -DCMAKE_CXX_FLAGS_RELEASE="${CMAKE_CXX_FLAGS_RELEASE} -DCV_TIOPENCL -DCV_TIOPENCL_ENABLE_PROGRAM_COUNT -DMAX_PROGRAM_HASH_SIZE=50" -DCMAKE_C_FLAGS_RELEASE="${CMAKE_C_FLAGS_RELEASE} -DCV_TIOPENCL -DCV_TIOPENCL_ENABLE_PROGRAM_COUNT -DMAX_PROGRAM_HASH_SIZE=50" -DWITH_OPENCLAMDFFT=OFF -DWITH_OPENCLAMDBLAS=OFF,-DWITH_OPENCL=OFF,cmem opencl,"
-PACKAGECONFIG[qtwayland] = "-DWITH_QT=ON,-DWITH_QT=OFF,qtwayland,"
-
-do_install_append() {
-    install -d ${D}${datadir}/OpenCV/samples/bin/
-    install -d ${D}${datadir}/OpenCV/titestsuite/
-    cp -f bin/*_test_* ${D}${datadir}/OpenCV/samples/bin/
-    cp -f ${S}/titestsuite/* ${D}${datadir}/OpenCV/titestsuite/
-    cp -f ${WORKDIR}/setupEnv.sh ${D}${datadir}/OpenCV/titestsuite/
-}
-- 
2.7.4



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

* Re: [dunfell/master][PATCH] opencv: drop deprecated bbappend for DSP-offloading
  2021-03-16 19:58 [dunfell/master][PATCH] opencv: drop deprecated bbappend for DSP-offloading Denys Dmytriyenko
@ 2021-03-17  1:22 ` Nishanth Menon
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2021-03-17  1:22 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago, Denys Dmytriyenko

On 15:58-20210316, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@konsulko.com>
> 
> DSP-offloading to OpenCL hasn't been updated for ~3 years [1] and is based
> on version 3.1, which is no longer available. Remove remaining bbappend.
> 
> [1] https://git.ti.com/cgit/opencv/tiopencv/log/?h=tiopencvrelease_3.1

Thanks.

Acked-by: Nishanth Menon <nm@ti.com>

Also tested to confirm this gets rid of the following:

WARNING: No recipes available for:
  /workdir/pub-sdk/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
> 
> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> ---
>  .../recipes-support/opencv/opencv_3.1.bbappend     | 41 ----------------------
>  1 file changed, 41 deletions(-)
>  delete mode 100644 meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
> 
> diff --git a/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend b/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
> deleted file mode 100644
> index a87e832..0000000
> --- a/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -PR = "r3"
> -
> -BRANCH = "tiopencvrelease_3.1"
> -
> -SRC_URI_remove = "git://github.com/Itseez/opencv.git;name=opencv"
> -SRC_URI_prepend = "git://git.ti.com/opencv/tiopencv.git;protocol=git;branch=${BRANCH};name=opencv"
> -
> -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> -
> -SRC_URI_append += "\
> -     file://setupEnv.sh \
> -"
> -
> -SRCREV_opencv = "102577cf10416ca8180adda88d3fd801eebc6318"
> -
> -DEPENDS_remove_keystone = "qtbase"
> -
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -PACKAGECONFIG_QTWAYLAND = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
> -PACKAGECONFIG_QTWAYLAND_keystone = ""
> -
> -PACKAGECONFIG_append = " ${PACKAGECONFIG_QTWAYLAND} \
> -                         ${@bb.utils.contains('MACHINE_FEATURES','dsp','opencl', '', d)} \
> -"
> -
> -PACKAGECONFIG_remove = "python3"
> -PACKAGECONFIG_remove = "python2"
> -
> -inherit cmake_qt5
> -
> -PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON -DCMAKE_CXX_FLAGS_RELEASE="${CMAKE_CXX_FLAGS_RELEASE} -DCV_TIOPENCL -DCV_TIOPENCL_ENABLE_PROGRAM_COUNT -DMAX_PROGRAM_HASH_SIZE=50" -DCMAKE_C_FLAGS_RELEASE="${CMAKE_C_FLAGS_RELEASE} -DCV_TIOPENCL -DCV_TIOPENCL_ENABLE_PROGRAM_COUNT -DMAX_PROGRAM_HASH_SIZE=50" -DWITH_OPENCLAMDFFT=OFF -DWITH_OPENCLAMDBLAS=OFF,-DWITH_OPENCL=OFF,cmem opencl,"
> -PACKAGECONFIG[qtwayland] = "-DWITH_QT=ON,-DWITH_QT=OFF,qtwayland,"
> -
> -do_install_append() {
> -    install -d ${D}${datadir}/OpenCV/samples/bin/
> -    install -d ${D}${datadir}/OpenCV/titestsuite/
> -    cp -f bin/*_test_* ${D}${datadir}/OpenCV/samples/bin/
> -    cp -f ${S}/titestsuite/* ${D}${datadir}/OpenCV/titestsuite/
> -    cp -f ${WORKDIR}/setupEnv.sh ${D}${datadir}/OpenCV/titestsuite/
> -}
> -- 
> 2.7.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


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

end of thread, other threads:[~2021-03-17  1:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 19:58 [dunfell/master][PATCH] opencv: drop deprecated bbappend for DSP-offloading Denys Dmytriyenko
2021-03-17  1:22 ` Nishanth Menon

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.