From patchwork Mon Aug 26 19:16:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 48270 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 57964C5472E 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.61253.1724699793997838760 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 6000C40CB0; 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 xqWAE_e7F8aY; 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 4555340CBF; 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 0C495164069; Mon, 26 Aug 2024 15:16:31 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [scarthgap][PATCH 09/16] fftlib: deprecate Date: Mon, 26 Aug 2024 15:16:18 -0400 Message-Id: <20240826191625.8267-9-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/15536 From: Denys Dmytriyenko Remove fftlib 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 --- .../recipes-ti/fftlib/fftlib.inc | 17 --- .../recipes-ti/fftlib/fftlib_git.bb | 103 ------------------ .../recipes-ti/fftlib/ti-fftw-examples_git.bb | 25 ----- .../recipes-ti/fftlib/ti-fftw_git.bb | 63 ----------- 4 files changed, 208 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/fftlib/fftlib.inc delete mode 100644 meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb delete mode 100644 meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb diff --git a/meta-arago-extras/recipes-ti/fftlib/fftlib.inc b/meta-arago-extras/recipes-ti/fftlib/fftlib.inc deleted file mode 100644 index 49777a53..00000000 --- a/meta-arago-extras/recipes-ti/fftlib/fftlib.inc +++ /dev/null @@ -1,17 +0,0 @@ -PV = "3_1_0_0" -INC_PR = "r4" - -require recipes-ti/includes/arago-paths.inc - - -FFTLIB_GIT_URI = "git://git.ti.com/git/fftlib/fftlib" -FFTLIB_GIT_PROTOCOL = "https" -FFTLIB_GIT_BRANCH = "master" -FFTLIB_GIT_DESTSUFFIX = "${WORKDIR}/git" - -FFTLIB_SRCREV = "e05426894c73af940ccc26880ebd7f2c9ce21880" - -BRANCH = "${FFTLIB_GIT_BRANCH}" -SRC_URI = "${FFTLIB_GIT_URI};destsuffix=${FFTLIB_GIT_DESTSUFFIX};protocol=${FFTLIB_GIT_PROTOCOL};branch=${BRANCH}" - -SRCREV = "${FFTLIB_SRCREV}" diff --git a/meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb b/meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb deleted file mode 100644 index 3f7ea874..00000000 --- a/meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb +++ /dev/null @@ -1,103 +0,0 @@ -SUMMARY = "TI FFTLIB" -HOMEPAGE = "http://git.ti.com/fftlib/fftlib" -LICENSE = "BSD-3-Clause" - -LIC_FILES_CHKSUM = "file://ti/fftlib/docs/manifest/manifest.xml.xdt;md5=178402e86abc15ff3bac0d4fc57e5463" - -include fftlib.inc - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "openmp" - -PR = "${INC_PR}.0" - -DEPENDS = "common-csl-ip-rtos libarch ti-xdctools-native doxygen-native ti-cgt6x-native ti-xdais libulm dsplib-c66x php libxslt-native libxslt openmp-rtos" - -COMPATIBLE_MACHINE = "dra7xx" - -TARGET:dra7xx = "SOC_AM572x" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git" - -export FFTLIB_ROOT="${S}" -export DOXYGEN_DIR="${DOXYGEN_INSTALL_DIR}" - -export TI_OCL_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/opencl" -export CGTROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -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}" -export OMP_DIR ="${OMP_INSTALL_DIR}" -export IPC_DIR = "${IPC_INSTALL_DIR}/packages" -export LIBARCH_DIR = "${LIBARCH_INSTALL_DIR}" -export TARGET_ROOTDIR ="${STAGING_DIR_TARGET}" - -export X86_LLVM_DIR = "${STAGING_DIR_NATIVE}/usr" -export C6636_PDK_DIR ="${PDK_INSTALL_DIR}/packages" -export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export LINUX_DEVKIT_ROOT = "${STAGING_DIR_TARGET}" - -export PDK_INSTALL_DIR -export FC_INSTALL_DIR -export IPC_INSTALL_DIR -export XDC_INSTALL_DIR -export XDAIS_INSTALL_DIR - -export OPENMP_INSTALL_DIR="${OMP_INSTALL_DIR}" -export BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" -export EDMA_INSTALL_DIR="${EDMA3_LLD_INSTALL_DIR}" -export C66CODEGENTOOL="${TI_OCL_CGT_INSTALL}" -export C64CODEGENTOOL="${TI_OCL_CGT_INSTALL}" -export TI_DOXYGEN_TEMPLATES="${DOXYGEN_DIR}/TI_Templates/10-01-2007" -export XDCBUILDCFG="${FFTLIB_ROOT}/ti/mas/swtools/config.bld" -export FFTLIB_INSTALL_DIR="${FFTLIB_ROOT}" -export IPC_DIR="{IPC_INSTALL_DIR}" - -XDCPATH.="${XDCCGROOT}/include;" -XDCPATH.="${XDAIS_INSTALL_DIR}/packages;" -XDCPATH.="${XDC_INSTALL_DIR}/packages;" -XDCPATH.="${FFTLIB_INSTALL_DIR};" -XDCPATH.="${FC_INSTALL_DIR}/packages;" -XDCPATH.="${OMP_INSTALL_DIR}/packages;" -XDCPATH.="${PDK_INSTALL_DIR}/packages;" -XDCPATH.="${BIOS_INSTALL_DIR}/packages;" -XDCPATH.="${EDMA3_LLD_INSTALL_DIR}/packages;" -XDCPATH.="${DSPLIB_C66_INSTALL_DIR}/packages;" -XDCPATH.="${IPC_INSTALL_DIR}/packages;" -XDCPATH.="${LIBARCH_INSTALL_DIR}/packages;" -XDCPATH.="${TI_OCL_INSTALL_DIR};" - -XDCPATH.="${FFTLIB_ROOT}" - -export XDCPATH -export PATH := "${XDC_INSTALL_DIR}:${PATH}" - - -do_compile() { - echo "Building the FFTLIB.zip" - cd ${FFTLIB_ROOT}/ti/fftlib - xdc XDCARGS="${TARGET} c66x armplusdsp bundle" XDCOPTIONS="-v" -} - -do_install() { - - cd ${FFTLIB_ROOT}/ti/fftlib - install -d ${D}${FFTLIB_INSTALL_DIR_RECIPE} - - find -name "fftlib*.zip" -exec unzip -o {} -d ${D}${FFTLIB_INSTALL_DIR_RECIPE} \; - mv ${D}${FFTLIB_INSTALL_DIR_RECIPE}/fftlib/* ${D}${FFTLIB_INSTALL_DIR_RECIPE} - rm -r ${D}${FFTLIB_INSTALL_DIR_RECIPE}/fftlib - -} - -FILES:${PN}-dev += "${FFTLIB_INSTALL_DIR_RECIPE}" - -# skip checking binary against ARM architecture -INSANE_SKIP:${PN}-dev = "arch" -ALLOW_EMPTY:${PN} = "1" diff --git a/meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb b/meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb deleted file mode 100644 index 9e3347cb..00000000 --- a/meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "TI FFTW" -HOMEPAGE = "http://git.ti.com/fftlib" -LICENSE = "BSD-3-Clause" - -LIC_FILES_CHKSUM = "file://../docs/TI-FFTW_3.1.0_manifest.html;md5=aaa275ec704a738216ba696898941b44" - -include fftlib.inc - -PR = "${INC_PR}.0" - -DEPENDS = "ti-fftw" - -RDEPENDS:${PN} += "ti-fftw-staticdev" - -S = "${WORKDIR}/git/ti/fftw/examples" - -EXTRA_OEMAKE += "TARGET_ROOTDIR="${STAGING_DIR_TARGET}"" - -do_install() { - install -d ${D}${datadir}/ti/examples/fftw - cp -r ./* ${D}${datadir}/ti/examples/fftw -} - -FILES:${PN} = "${datadir}/ti/examples/fftw" -INSANE_SKIP:${PN} = "ldflags" diff --git a/meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb b/meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb deleted file mode 100644 index df9e9708..00000000 --- a/meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb +++ /dev/null @@ -1,63 +0,0 @@ -SUMMARY = "TI FFTW" -HOMEPAGE = "http://git.ti.com/fftlib" -LICENSE = "GPL-2.0-only & BSD-3-Clause" - -LIC_FILES_CHKSUM = "file://docs/TI-FFTW_3.1.0_manifest.html;md5=aaa275ec704a738216ba696898941b44 \ - file://fftw-3.3.4/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" - -include fftlib.inc - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "opencl" - -PR = "${INC_PR}.0" - -DEPENDS = "common-csl-ip-rtos common-csl-ip ti-xdctools-native ti-sysbios ti-cgt6x-native ti-xdais libulm fftlib dsplib-c66x opencl clocl-native libarch" - -RDEPENDS:${PN} += "opencl-runtime" - -COMPATIBLE_MACHINE = "dra7xx" -TARGET:dra7xx = "SOC_AM572x" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git/ti/fftw" - -export TI_OCL_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/opencl" -export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export PDK_DIR = "${PDK_INSTALL_DIR}" -export IPC_DIR = "${IPC_INSTALL_DIR}/packages" -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 ULM_DIR ="${STAGING_DIR_TARGET}/usr/share/ti/ulm" -export GDB_SERVER_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/gdbc6x" -export X86_LLVM_DIR = "${STAGING_DIR_NATIVE}/usr" -export C6636_PDK_DIR ="${PDK_INSTALL_DIR}/packages" -export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export LINUX_DEVKIT_ROOT = "${STAGING_DIR_TARGET}" -export TARGET_ROOTDIR="${STAGING_DIR_TARGET}" -export OMP_DIR = "${OMP_INSTALL_DIR}" -export FFTLIB_DIR="${FFTLIB_INSTALL_DIR}" -export DSPLIB_DIR="${DSPLIB_C66_INSTALL_DIR}" -export BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" -export EDMA_INSTALL_DIR="${EDMA3_LLD_INSTALL_DIR}" -export XDCTOOLS_DIR="${XDC_INSTALL_DIR}/packages" -export LIBARCH_DIR = "${LIBARCH_INSTALL_DIR}" - -do_compile() { - make build TARGET=${TARGET} -} - -do_install() { - make install DESTDIR=${D} - - # These files will be installed by the ti-fftw-examples recipe - rm -rf ${D}${datadir}/ti -} - -ALLOW_EMPTY:${PN} = "1" - -INSANE_SKIP:${PN} = "arch"