From patchwork Mon Aug 26 19:16:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 48268 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89AF6C5473B for ; Mon, 26 Aug 2024 19:16:35 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.61254.1724699794040793050 for ; Mon, 26 Aug 2024 12:16:34 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 68A8D40CB2; Mon, 26 Aug 2024 19:16:33 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gF9rNAV3lstX; Mon, 26 Aug 2024 19:16:33 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 4BF0740CCB; Mon, 26 Aug 2024 19:16:32 +0000 (UTC) Received: from thorin.han-sole.ts.net (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 256A916406B; Mon, 26 Aug 2024 15:16:31 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [scarthgap][PATCH 11/16] libarch: deprecate Date: Mon, 26 Aug 2024 15:16:20 -0400 Message-Id: <20240826191625.8267-11-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240826191625.8267-1-denis@denix.org> References: <20240826191625.8267-1-denis@denix.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 26 Aug 2024 19:16:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15537 From: Denys Dmytriyenko 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 --- .../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"