From: Denys Dmytriyenko <[email protected]> Remove libarch component as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms. Signed-off-by: Denys Dmytriyenko <[email protected]> --- .../libarch/libarch-examples_git.bb | 36 ------------------- .../recipes-ti/libarch/libarch.inc | 36 ------------------- .../recipes-ti/libarch/libarch_git.bb | 20 ----------- 3 files changed, 92 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/libarch/libarch-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/libarch/libarch.inc delete mode 100644 meta-arago-extras/recipes-ti/libarch/libarch_git.bb diff --git a/meta-arago-extras/recipes-ti/libarch/libarch-examples_git.bb b/meta-arago-extras/recipes-ti/libarch/libarch-examples_git.bb deleted file mode 100644 index f7b893f7..00000000 --- a/meta-arago-extras/recipes-ti/libarch/libarch-examples_git.bb +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION = "TI Library Architecture Examples" - -include libarch.inc - -PR = "${INC_PR}.0" - -DEPENDS += "libarch clocl-native" -RDEPENDS:${PN} += "opencl-runtime" - -export LIBARCH_DIR = "${LIBARCH_INSTALL_DIR}" -export TARGET_ROOTDIR = "${STAGING_DIR_TARGET}" - -do_compile() { - cd examples - make TARGET=${TARGET} LIBOS=LIB_OPENCL - # Remove object files before installing so that the binaries are not present - find . -name "*.obj" -type f -delete - find . -name "*.o" -type f -delete - find . -name "*.out" -type f -delete - find . -name "*.dsp_h" -type f -delete -} - -do_install() { - install -d ${D}${datadir}/ti/examples/libarch - cp -r examples/arm+dsp ${D}${datadir}/ti/examples/libarch - cp -r examples/common ${D}${datadir}/ti/examples/libarch - cp examples/Makefile ${D}${datadir}/ti/examples/libarch -} - -FILES:${PN} += "\ - ${datadir}/ti/examples/libarch/* \ " - -FILES:${PN}-dbg += "\ - ${datadir}/ti/examples/libarch/*/.debug \ " - -INSANE_SKIP:${PN} = "arch ldflags textrel" diff --git a/meta-arago-extras/recipes-ti/libarch/libarch.inc b/meta-arago-extras/recipes-ti/libarch/libarch.inc deleted file mode 100644 index 3c708250..00000000 --- a/meta-arago-extras/recipes-ti/libarch/libarch.inc +++ /dev/null @@ -1,36 +0,0 @@ -HOMEPAGE = "https://git.ti.com/library-architecture/libarch" -LICENSE = "BSD-3-Clause" - -PV = "1_0_0_0" -INC_PR = "r2" - -require recipes-ti/includes/arago-paths.inc -require recipes-ti/includes/ti-staging.inc - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "opencl" - -BRANCH = "master" -LIC_FILES_CHKSUM = "file://src/ti/libarch/docs/LibArch_1.0.0_manifest.html;md5=bb48cacb8827ec8d8e5a94c4f2425ee3" -SRC_URI = "git://git.ti.com/git/library-architecture/libarch.git;protocol=https;branch=${BRANCH}" -SRCREV = "cb6d785e95cd390c6388853a4f1e99a302e5a58f" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git" - -DEPENDS = "common-csl-ip-rtos ti-xdctools-native ti-sysbios ti-cgt6x-native ti-xdais ti-framework-components opencl opencl-monitor doxygen-native zip-native" - -export CGTROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export TI_OCL_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/opencl" -export XDC_DIR = "${XDC_INSTALL_DIR}" -export BIOS_DIR= "${SYSBIOS_INSTALL_DIR}" -export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" -export FC_DIR = "${FC_INSTALL_DIR}" -export PDK_DIR = "${PDK_INSTALL_DIR}" - -TARGET:dra7xx = "SOC_AM572x" diff --git a/meta-arago-extras/recipes-ti/libarch/libarch_git.bb b/meta-arago-extras/recipes-ti/libarch/libarch_git.bb deleted file mode 100644 index 4151e1c4..00000000 --- a/meta-arago-extras/recipes-ti/libarch/libarch_git.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "TI Library Architecture" - -include libarch.inc - -PR = "${INC_PR}.0" - -do_compile() { - make -f build/Makefile TARGET=${TARGET} LIBOS=LIB_OPENCL -} - -do_install() { - install -d ${D}${LIBARCH_INSTALL_DIR_RECIPE} - cp -r exports/libarch_*/* ${D}${LIBARCH_INSTALL_DIR_RECIPE} -} - -FILES:${PN}-dev += "${LIBARCH_INSTALL_DIR_RECIPE}" - -# skip checking binary against ARM architecture -INSANE_SKIP:${PN}-dev = "arch" -ALLOW_EMPTY:${PN} = "1" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15537): https://lists.yoctoproject.org/g/meta-arago/message/15537 Mute This Topic: https://lists.yoctoproject.org/mt/108110218/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
