diff mbox series

[meta-arago,master/kirkstone,3/4] llvm-rtos: Remove TI-RTOS hosted LLVM

Message ID 20230609185422.132654-3-afd@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master/kirkstone,1/4] big-data-ipc-demo: Remove M4 toolchain export | expand

Commit Message

Andrew Davis June 9, 2023, 6:54 p.m. UTC
We do not build RTOS packages with OE anymore, remove leftover package.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../recipes-ti/includes/arago-paths.inc       |  2 -
 .../recipes-ti/llvm-rtos/llvm-rtos.inc        | 15 -----
 .../recipes-ti/llvm-rtos/llvm-rtos_git.bb     | 65 -------------------
 3 files changed, 82 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos.inc
 delete mode 100644 meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos_git.bb
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-ti/includes/arago-paths.inc b/meta-arago-extras/recipes-ti/includes/arago-paths.inc
index 71295bb5..3c0c3863 100644
--- a/meta-arago-extras/recipes-ti/includes/arago-paths.inc
+++ b/meta-arago-extras/recipes-ti/includes/arago-paths.inc
@@ -2,7 +2,6 @@  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 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"
@@ -10,7 +9,6 @@  export TIOVX_INSTALL_DIR_RECIPE      = "${installdir}/ti-tiovx-lib-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_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}"
diff --git a/meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos.inc b/meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos.inc
deleted file mode 100644
index b2c14dda..00000000
--- a/meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos.inc
+++ /dev/null
@@ -1,15 +0,0 @@ 
-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/git/opencl/llvm.git"
-LLVM_GIT_PROTOCOL = "https"
-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}"
diff --git a/meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos_git.bb b/meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos_git.bb
deleted file mode 100644
index 2054b1bb..00000000
--- a/meta-arago-extras/recipes-ti/llvm-rtos/llvm-rtos_git.bb
+++ /dev/null
@@ -1,65 +0,0 @@ 
-SUMMARY = "Bare-metal build of a subset of LLVM 3.6 with support for TI C66x"
-HOMEPAGE = "http://git.ti.com/opencl/llvm"
-DESCRIPTION = "A subset of LLVM 3.6 libraries built using gcc-arm-baremetal-native. Used in the OpenCL running over a TI-RTOS based host."
-
-# 3-clause BSD-like
-# University of Illinois/NCSA Open Source License
-LICENSE = "NCSA"
-
-
-require llvm-rtos.inc
-require recipes-ti/includes/arago-paths.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "gcc-arm-baremetal-native cmake-native"
-
-COMPATIBLE_MACHINE = "omap-a15"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-S = "${WORKDIR}/git"
-RELEASE_TARGET = ""
-RELEASE_TARGET:omap-a15 = "am57xx"
-
-CLEANBROKEN = "1"
-
-export LLVM_SRC_DIR="${S}"
-export LLVM_INSTALL_DIR="${D}${LLVM_RTOS_INSTALL_DIR_RECIPE}"
-
-do_compile() {
-    unset LDFLAGS
-    unset TARGET_LDFLAGS
-
-    # Clean the build directory
-    rm -rf build.sysbios
-
-    mkdir -p build.sysbios/build.native
-    cd build.sysbios/build.native; CC="${BUILD_CC}" CXX="${BUILD_CXX}" cmake "${S}"; cd ../..
-    make -C build.sysbios/build.native llvm-tblgen llvm-config ${PARALLEL_MAKE}
-
-    cd build.sysbios; cmake -DCMAKE_TOOLCHAIN_FILE="${S}/ToolChain_ARMSysBios.cmake" -Wno-dev "${S}"; cd ..
-
-    make -C build.sysbios LLVMSupport LLVMCore LLVMBitReader ${PARALLEL_MAKE}
-
-}
-
-do_install() {
-    cd build.sysbios; make -f include/llvm/Makefile install/local; cd ..
-
-    install -d ${D}${LLVM_RTOS_INSTALL_DIR_RECIPE}/bin
-    install -m 755 ${S}/build.sysbios/build.native/bin/llvm-config ${D}${LLVM_RTOS_INSTALL_DIR_RECIPE}/bin/llvm-config-host
-
-    install -d ${D}${LLVM_RTOS_INSTALL_DIR_RECIPE}/lib
-    for libfile in ${S}/build.sysbios/lib/*.a; do
-        install -m 644 ${libfile} ${D}${LLVM_RTOS_INSTALL_DIR_RECIPE}/lib
-    done
-}
-
-FILES:${PN} += "${LLVM_RTOS_INSTALL_DIR_RECIPE}"
-
-# This package contains one x86-64 executable and a few static libraries
-INSANE_SKIP:${PN} = "arch file-rdeps staticdev"
-
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"