Signed-off-by: Jacob Stiffler <[email protected]> --- .../tvm/0001-CMakeLists-install-unit-tests.patch | 39 ------------- recipes-support/tvm/tvm_git.bb | 64 ---------------------- 2 files changed, 103 deletions(-) delete mode 100644 recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch delete mode 100644 recipes-support/tvm/tvm_git.bb
diff --git a/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch b/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch deleted file mode 100644 index a79856f..0000000 --- a/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 5904aa69d8f022678aa19dd4c1b5569d5fc243ee Mon Sep 17 00:00:00 2001 -From: Jianzhong Xu <[email protected]> -Date: Tue, 8 Oct 2019 16:56:30 -0400 -Subject: [PATCH] [PATCH] CMakeLists: install unit tests - -* Install the unittests (cpptest) to /usr/share/tvm/cpptest -* For simplicity, do not exclude cpptest from the default build. - -Upstream-Status: Innappropriate [Configuration] - -Signed-off-by: Jianzhong Xu <[email protected]> ---- - CMakeLists.txt | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - mode change 100644 => 100755 CMakeLists.txt - -diff --git a/CMakeLists.txt b/CMakeLists.txt -old mode 100644 -new mode 100755 -index 10730ac7..ea369a6e ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -333,10 +333,11 @@ if(GTEST_INCLUDE_DIR AND GTEST_LIB) - list(APPEND TEST_EXECS ${__execname}) - target_include_directories(${__execname} PUBLIC ${GTEST_INCLUDE_DIR}) - target_link_libraries(${__execname} tvm ${GTEST_LIB} pthread dl) -- set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_ALL 1) -- set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) -+ #set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_ALL 1) -+ #set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) - endforeach() - add_custom_target(cpptest DEPENDS ${TEST_EXECS}) -+ install(TARGETS ${TEST_EXECS} DESTINATION share/tvm/cpptest) - elseif(NOT GTEST_INCLUDE_DIR) - add_custom_target(cpptest - COMMAND echo "Missing Google Test headers in include path" --- -2.17.1 - diff --git a/recipes-support/tvm/tvm_git.bb b/recipes-support/tvm/tvm_git.bb deleted file mode 100644 index 5bbdd36..0000000 --- a/recipes-support/tvm/tvm_git.bb +++ /dev/null @@ -1,64 +0,0 @@ -SUMMARY = "Open Deep Learning Compiler Stack" -HOMEPAGE = "https://tvm.ai/" -LICENSE = "Apache-2.0 & BSD-3-Clause" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \ - file://3rdparty/dmlc-core/LICENSE;md5=0ca7d6e8f4af26868cb42025ad83374b \ - file://3rdparty/dlpack/LICENSE;md5=f62d4e85ba68a1574b74d97ab8dea9ab \ - file://3rdparty/HalideIR/LICENSE;md5=9910386e68f0616e1ecf1037479fa97e \ -" - -RDEPENDS_${PN} = " python3-decorator \ -" - -PV = "0.5" - -BRANCH = "master" - -# Main TVM sources plus submodules. -SRC_URI = "git://github.com/dmlc/tvm;protocol=https;branch=${BRANCH};name=tvm \ - git://github.com/dmlc/dmlc-core;protocol=https;branch=master;destsuffix=${S}/3rdparty/dmlc-core;name=dmlc-core \ - git://github.com/dmlc/HalideIR;protocol=https;branch=master;destsuffix=${S}/3rdparty/HalideIR;name=halideir \ - git://github.com/dmlc/dlpack;protocol=https;branch=master;destsuffix=${S}/3rdparty/dlpack;name=dlpack \ - git://github.com/agauniyal/rang;protocol=https;branch=master;destsuffix=${S}/3rdparty/rang;name=rang \ - file://0001-CMakeLists-install-unit-tests.patch \ -" - -SRCREV_tvm = "76c239269935288e51fbce14f135d75ad9742b2a" -SRCREV_dmlc-core = "d07fb7a443b5db8a89d65a15a024af6a425615a5" -SRCREV_halideir = "b257a9221ee1e5180d994b3488ddcc259b0ac157" -SRCREV_dlpack = "5c792cef3aee54ad8b7000111c9dc1797f327b59" -SRCREV_rang = "cabe04d6d6b05356fa8f9741704924788f0dd762" - -S = "${WORKDIR}/git" - -inherit setuptools3 cmake python3native - -DEPENDS += "zlib llvm llvm-native gtest" - -# Point to llvm-config -LLVM_RELEASE = "6.0" -EXTRA_OECMAKE += "-DUSE_LLVM=llvm-config${LLVM_RELEASE}" - -# This is how we enable the unittests -export GTEST_LIB = "${STAGING_LIBDIR}" - -do_install() { - cmake_do_install - - cd ${S}/python - TVM_LIBRARY_PATH=${D}${libdir} distutils3_do_install - cd ${B} - - # setup.py install some libs under datadir, but we don't need them, so remove. - rm ${D}${datadir}/tvm/*.so -} - -# Versioned libs are not produced -FILES_SOLIBSDEV = "" - -# Help llvm-native find target llvm-config and libs -export YOCTO_ALTERNATE_MULTILIB_NAME = "/${BASELIB}" -export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${LLVM_RELEASE}/llvm-config" - -BBCLASSEXTEND = "nativesdk" -- 2.7.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
