@@ -11,7 +11,6 @@ EXTRA_TI_TOOLS = " \
nativesdk-ti-cgt6x \
nativesdk-ti-cgt-pru \
nativesdk-clocl \
- ${@oe.utils.all_distro_features(d, "opencl openmp", "nativesdk-clacc")} \
nativesdk-open62541-examples \
nativesdk-open62541-tests \
nativesdk-gcc-arm-baremetal \
deleted file mode 100644
@@ -1,65 +0,0 @@
-SUMMARY = "TI OpenMP-Acc C compiler"
-
-include openmpacc.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "boost elfutils perl-native"
-RDEPENDS:${PN} += "clocl"
-
-S = "${WORKDIR}/git/host"
-
-TARGET:class-target = "clacc_arm"
-TARGET:class-native = "clacc_x86"
-TARGET:class-nativesdk = "clacc_x86"
-
-export LINUX_DEVKIT_ROOT = "${STAGING_DIR_HOST}"
-export X86_HOST_ROOT = "${STAGING_DIR_HOST}"
-
-PARALLEL_MAKE = ""
-
-# The variables CLACC_CC and CLACC_CXX are used to point clacc to set its
-# host_cc and host_link_cc variables which were previously hardcoded in clacc.h.
-# This adds support for different toolchain configurations to build clacc by
-# passing in the compiler names at the build stage and removes corresponding
-# string replacement requirements in yocto recipes.
-python __anonymous() {
- cc_name = ""
- cxx_name = ""
- if d.getVar("TOOLCHAIN_PREFIX"):
- cc_name = d.getVar("TOOLCHAIN_PREFIX") + "gcc"
- cxx_name = d.getVar("TOOLCHAIN_PREFIX") + "g++"
- else:
- cc_name = d.getVar("TARGET_PREFIX") + "gcc"
- cxx_name = d.getVar("TARGET_PREFIX") + "g++"
-
- # Convert to upper case to workaround GCC preprocessor bug where the word
- # 'linux' is defined to be 1. This results in arm-linux-gnueabihf- being
- # stringized to arm-1-gnueabihf- by the GCC preprocessor. To workaround this
- # bug, convert the names to upper case and send through. Clacc will convert
- # to lower case before usage.
- d.setVar("CLACC_CC_NAME", cc_name.upper())
- d.setVar("CLACC_CXX_NAME", cxx_name.upper())
-}
-
-
-EXTRA_OEMAKE = " -C ${S}/clacc \
- ${TARGET} \
- CXX="${CXX}" \
- CLACC_CC="${CLACC_CC_NAME}" \
- CLACC_CXX="${CLACC_CXX_NAME}" \
-"
-
-do_compile() {
- oe_runmake
-}
-
-do_install() {
- install -d ${D}${bindir}
- install -m 755 clacc/${TARGET} ${D}${bindir}/clacc
-
- install -d ${D}${mandir}/man1
- install -m 644 clacc/clacc.1 ${D}${mandir}/man1
-}
-
-BBCLASSEXTEND = "native nativesdk"
deleted file mode 100644
@@ -1,79 +0,0 @@
-SUMMARY = "TI OpenMP-Acc example applications"
-
-include openmpacc.inc
-
-PR = "${INC_PR}.1"
-
-DEPENDS = "openmpacc clacc-native clocl-native ti-cgt6x-native"
-RDEPENDS:${PN} += "opencl-runtime"
-
-S = "${WORKDIR}/git/openmpacc-examples-src"
-
-OMPACC_EXAMPLE_LIST = " target_update \
- vecadd \
- printf_debug \
- edmamgr \
- dspheap \
- target_orphan_call \
- target_implicit_map \
- vecadd_t \
- vecadd_complex \
- local \
- null \
- dsplib_fft \
- sub_section \
-"
-
-python do_unpack:append() {
- import shutil
-
- git_dir = d.expand("${WORKDIR}/git/examples")
- s = d.getVar("S")
-
- os.makedirs(s)
- shutil.copy(os.path.join(git_dir,"Makefile"),s)
- shutil.copy(os.path.join(git_dir,"make.inc"),s)
- for example in d.getVar("OMPACC_EXAMPLE_LIST").split():
- shutil.copytree(os.path.join(git_dir,example), os.path.join(s,example))
-}
-
-EXTRA_OEMAKE = " TARGET_ROOTDIR=${STAGING_DIR_HOST} \
- TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \
-"
-
-MKFILELIST = "vecadd/Makefile vecadd_complex/Makefile dsplib_fft/Makefile \
-null/Makefile dspheap/Makefile target_implicit_map/Makefile printf_debug/Makefile \
-edmamgr/Makefile vecadd_t/Makefile target_orphan_call/Makefile target_update/Makefile \
-sub_section/Makefile local/Makefile"
-
-do_configure() {
- for f in ${MKFILELIST}; do
- sed "s|-fopenmp|-fopenmp ${TUNE_CCARGS}${TOOLCHAIN_OPTIONS}|g" -i $f
- done
-}
-
-do_compile() {
- oe_runmake
-}
-
-do_install() {
- install -d ${D}${datadir}/ti/examples/openmpacc
-
- install -m 644 ${B}/Makefile ${D}${datadir}/ti/examples/openmpacc
- install -m 644 ${B}/make.inc ${D}${datadir}/ti/examples/openmpacc
-
- for ompacc_example in ${OMPACC_EXAMPLE_LIST}; do
- install -d ${D}${datadir}/ti/examples/openmpacc/${ompacc_example}
- cp -rv ${B}/${ompacc_example}/* ${D}${datadir}/ti/examples/openmpacc/${ompacc_example}
- done
-}
-
-FILES:${PN} += "\
- ${datadir}/ti/examples/openmpacc \
-"
-
-FILES:${PN}-dbg += "\
- ${datadir}/ti/examples/openmpacc/*/.debug \
-"
-
-INSANE_SKIP:${PN} = "arch ldflags textrel staticdev"
deleted file mode 100644
@@ -1,27 +0,0 @@
-SUMMARY = "TI OpenMP Accelerator Model"
-HOMEPAGE = "http://downloads.ti.com/mctools/esd/docs/openmpacc/"
-LICENSE = "BSD-3-Clause"
-
-inherit features_check
-
-REQUIRED_MACHINE_FEATURES = "dsp"
-REQUIRED_MACHINE_FEATURES:class-native = ""
-REQUIRED_MACHINE_FEATURES:class-nativesdk = ""
-REQUIRED_DISTRO_FEATURES = "opencl openmp"
-
-PV = "1.5.6.0"
-INC_PR = "r0"
-
-LIC_FILES_CHKSUM = "file://../debian/copyright;md5=aaa2a0939d08197132fc382e97b62eb0"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/openmpacc:"
-
-OMPACC_GIT_URI = "git://git.ti.com/git/openmp/ti-openmpacc.git"
-OMPACC_GIT_PROTOCOL = "https"
-OMPACC_GIT_BRANCH = "master"
-
-OMPACC_SRCREV = "7c4e68a0bf73ec193edff9dfc23ea764ae6ad434"
-
-BRANCH = "${OMPACC_GIT_BRANCH}"
-SRC_URI = "${OMPACC_GIT_URI};protocol=${OMPACC_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${OMPACC_SRCREV}"
deleted file mode 100644
@@ -1,20 +0,0 @@
-DESCRIPTION = "TI OpenMP-Acc host runtime and development packages"
-
-include openmpacc.inc
-
-PR = "${INC_PR}.1"
-
-inherit cmake
-
-DEPENDS = "boost boost-native opencl"
-RDEPENDS:${PN} += "opencl-runtime"
-RDEPENDS:${PN}-dev += "clacc"
-
-S = "${WORKDIR}/git/host"
-
-export TARGET_ROOTDIR = "${STAGING_DIR_HOST}"
-export LINUX_DEVKIT_ROOT = "${STAGING_DIR_HOST}"
-
-EXTRA_OECMAKE += "-DVERSION="${PV}" -DBUILD_OUTPUT=lib"
-
-FILES:${PN} += "/usr/share/ti/openmpacc/*"