fftlib: add fftlib v3.1.0.0
PATCH 1/3 fftlib: add fftlib v3.1.0.0
From: Yimin Zhang <[email protected]>
* Optimized FFT libraries for TI C66x devices
Signed-off-by Jacob Stiffler <[email protected]>
--- meta-arago-extras/recipes-ti/fftlib/fftlib.inc | 17 ++++ meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb | 99 ++++++++++++++++++++++ .../recipes-ti/includes/arago-paths.inc | 2 + 3 files changed, 118 insertions(+) create mode 100644 meta-arago-extras/recipes-ti/fftlib/fftlib.inc create mode 100644 meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb
meta-arago-extras/recipes-ti/fftlib/fftlib.inc new file +17 -0
@@ -0,0 +1,17 @@ +PV = "3_1_0_0" +INC_PR = "r3" + +require recipes-ti/includes/arago-paths.inc + + +FFTLIB_GIT_URI = "git://git.ti.com/fftlib/fftlib" +FFTLIB_GIT_PROTOCOL = "git" +FFTLIB_GIT_BRANCH = "master" +FFTLIB_GIT_DESTSUFFIX = "${WORKDIR}/git" + +FFTLIB_SRCREV = "54fb858e97235c0a3cd948d24d22329653a7837f" + +BRANCH = "${FFTLIB_GIT_BRANCH}" +SRC_URI = "${FFTLIB_GIT_URI};destsuffix=${FFTLIB_GIT_DESTSUFFIX};protocol=${FFTLIB_GIT_PROTOCOL};branch=${BRANCH}" + +SRCREV = "${FFTLIB_SRCREV}"
meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb new file +99 -0
99 lines not on this page · raw message
meta-arago-extras/recipes-ti/includes/arago-paths.inc +2 -0
@@ -5,9 +5,11 @@ export LINALG_INSTALL_DIR_RECIPE = "${installdir}/ti-linalg-tree" export LLVM_RTOS_INSTALL_DIR_RECIPE = "${installdir}/llvm-rtos-tree" export OCL_RTOS_INSTALL_DIR_RECIPE = "${installdir}/ti-opencl-rtos-tree" export OCL_TIDL_FW_INSTALL_DIR_RECIPE = "${installdir}/ti-opencl-tidl-fw-tree" +export FFTLIB_INSTALL_DIR_RECIPE = "${installdir}/ti-fftlib-tree" export LIBARCH_INSTALL_DIR = "${STAGING_DIR_TARGET}${LIBARCH_INSTALL_DIR_RECIPE}" export LINALG_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINALG_INSTALL_DIR_RECIPE}" export LLVM_RTOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${LLVM_RTOS_INSTALL_DIR_RECIPE}" export OCL_RTOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${OCL_RTOS_INSTALL_DIR_RECIPE}" export OCL_TIDL_FW_INSTALL_DIR = "${STAGING_DIR_TARGET}${OCL_TIDL_FW_INSTALL_DIR_RECIPE}" +export FFTLIB_INSTALL_DIR = "${STAGING_DIR_TARGET}${FFTLIB_INSTALL_DIR_RECIPE}"
Signature · 1 line
2.7.4
PATCH 2/3 ti-fftw: add ti-fftw v3.1.0.0
From: Yimin Zhang <[email protected]>
* TI implementation of FFTW APIs which support offloading to from ARM to DSP via OpenCL.
Signed-off-by Jacob Stiffler <[email protected]>
--- .../recipes-ti/fftlib/ti-fftw-examples_git.bb | 25 +++++++++ meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb | 59 ++++++++++++++++++++++ .../recipes-ti/includes/arago-paths.inc | 2 + 3 files changed, 86 insertions(+) create mode 100644 meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb create mode 100644 meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb
meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb new file +25 -0
@@ -0,0 +1,25 @@ +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"
meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb new file +59 -0
59 lines not on this page · raw message
meta-arago-extras/recipes-ti/includes/arago-paths.inc +2 -0
@@ -6,6 +6,7 @@ export LLVM_RTOS_INSTALL_DIR_RECIPE = "${installdir}/llvm-rtos-tree" export OCL_RTOS_INSTALL_DIR_RECIPE = "${installdir}/ti-opencl-rtos-tree" export OCL_TIDL_FW_INSTALL_DIR_RECIPE = "${installdir}/ti-opencl-tidl-fw-tree" export FFTLIB_INSTALL_DIR_RECIPE = "${installdir}/ti-fftlib-tree" +export FFTW_INSTALL_DIR_RECIPE = "${installdir}/ti-fftw-tree" export LIBARCH_INSTALL_DIR = "${STAGING_DIR_TARGET}${LIBARCH_INSTALL_DIR_RECIPE}" export LINALG_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINALG_INSTALL_DIR_RECIPE}"
@@ -13,3 +14,4 @@ export LLVM_RTOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${LLVM_RTOS_INSTALL_DIR_RE export OCL_RTOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${OCL_RTOS_INSTALL_DIR_RECIPE}" export OCL_TIDL_FW_INSTALL_DIR = "${STAGING_DIR_TARGET}${OCL_TIDL_FW_INSTALL_DIR_RECIPE}" export FFTLIB_INSTALL_DIR = "${STAGING_DIR_TARGET}${FFTLIB_INSTALL_DIR_RECIPE}" +export FFTW_INSTALL_DIR = "${STAGING_DIR_TARGET}${FFTW_INSTALL_DIR_RECIPE}"
Signature · 1 line
2.7.4
PATCH 3/3 packagegroup: opencl: add ti-fftw for k2hk and dra7xx families
In reply to Jacob StifflerSigned-off-by Jacob Stiffler <[email protected]>
--- .../recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb +3 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install OpenCL/MP and related components" LICENSE = "MIT" -PR = "r3" +PR = "r4" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -21,12 +21,14 @@ EXTRA_PKGS = " \ EXTRA_PKGS_append_k2hk = " \ linalg-examples \ + ti-fftw-examples \ " EXTRA_PKGS_append_dra7xx = " \ linalg-examples \ opencl-examples \ kaldi \ + ti-fftw-examples \ " RDEPENDS_${PN} = "\
Signature · 1 line
2.7.4