Signed-off-by: Jacob Stiffler <[email protected]> --- meta-arago-extras/recipes-ti/ocl/clocl_git.bb | 34 +++++++++++++++++++++++++++ meta-arago-extras/recipes-ti/ocl/ocl.inc | 10 ++++++++ 2 files changed, 44 insertions(+) create mode 100644 meta-arago-extras/recipes-ti/ocl/clocl_git.bb create mode 100644 meta-arago-extras/recipes-ti/ocl/ocl.inc
diff --git a/meta-arago-extras/recipes-ti/ocl/clocl_git.bb b/meta-arago-extras/recipes-ti/ocl/clocl_git.bb new file mode 100644 index 0000000..d566cde --- /dev/null +++ b/meta-arago-extras/recipes-ti/ocl/clocl_git.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "TI OpenCL" +HOMEPAGE = "https://gitorious.design.ti.com/ocl" +LICENSE = "BSD" + +include ocl.inc + +PR = "${INC_PR}.0" + +DEPENDS = "ti-llvm3.3 ti-llvm3.3-native boost" + +S = "${WORKDIR}/git/host" + +export WANT_LLVM_RELEASE = "3.3-ti" + +TARGET_class-target = "arm" +TARGET_class-native = "x86" +TARGET_class-nativesdk = "x86" + +EXTRA_OEMAKE = " -C ${S}/clocl \ + _PRODUCT_VERSION=${PV} \ + TARGET=${TARGET} \ + LLVM_CONFIG_EXE=llvm-config \ +" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 755 ${S}/clocl/${TARGET}/clocl ${D}${bindir} +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-arago-extras/recipes-ti/ocl/ocl.inc b/meta-arago-extras/recipes-ti/ocl/ocl.inc new file mode 100644 index 0000000..3195d5b --- /dev/null +++ b/meta-arago-extras/recipes-ti/ocl/ocl.inc @@ -0,0 +1,10 @@ +PV = "1.1.4" +INC_PR = "r0" + +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=2e3965a73a8a49c23836467266120dff" + +FILESEXTRAPATHS_prepend := "${THISDIR}/ocl:" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/opencl/ti-opencl.git;protocol=git;branch=${BRANCH}" +SRCREV = "a675f28647b294d0fc5d5234dd8bcf89a330a0e5" -- 1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
