llvm-rtos: LLVM build for OpenCL on TI-RTOS hosts
PATCH 1/1 llvm-rtos: LLVM build for OpenCL on TI-RTOS hosts
Build a subset of LLVM libraries using the bare metal arm gcc toolchain. These libraries are used by TI's OpenCL runtime over TI-RTOS host.
Signed-off-by Ajay Jayaraj <[email protected]>
--- .../recipes-ti/includes/arago-paths.inc | 2 + .../recipes-ti/llvm-rtos/llvm-rtos.inc | 16 +++++++ .../recipes-ti/llvm-rtos/llvm-rtos_git.bb | 56 ++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos.inc create mode 100644 meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos_git.bb
meta-arago-extras/recipes-ti/includes/arago-paths.inc +2 -0
@@ -2,6 +2,8 @@ require recipes-ti/includes/ti-paths.inc export LIBARCH_INSTALL_DIR_RECIPE = "${installdir}/ti-libarch-tree" export LINALG_INSTALL_DIR_RECIPE = "${installdir}/ti-linalg-tree" +export LLVM_RTOS_INSTALL_DIR_RECIPE = "${installdir}/llvm-rtos-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_NATIVE}${LLVM_RTOS_INSTALL_DIR_RECIPE}"
meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos.inc new file +16 -0
@@ -0,0 +1,16 @@ +PV = "3.6.0" +INC_PR = "r0" + +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d" + +LLVM_GIT_NAME = "llvm" +LLVM_GIT_URI = "git://git.ti.com/opencl/llvm.git" +LLVM_GIT_PROTOCOL = "git" +LLVM_GIT_BRANCH = "release_36_ti" +LLVM_GIT_DESTSUFFIX = "git" +LLVM_GIT_SRCREV = "8ff2a35c586a3d3f624712e0943777613a017bc5" + +SRC_URI = "${LLVM_GIT_URI};protocol=${LLVM_GIT_PROTOCOL};branch=${LLVM_GIT_BRANCH};destsuffix=${LLVM_GIT_DESTSUFFIX};name=${LLVM_GIT_NAME}" + +SRCREV_${LLVM_GIT_NAME} = "${LLVM_GIT_SRCREV}" +
meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos_git.bb new file +56 -0
56 lines not on this page · raw message
Signature · 1 line
1.9.1