summaryrefslogtreecommitdiff
path: root/tvm-vendor.spec
diff options
context:
space:
mode:
Diffstat (limited to 'tvm-vendor.spec')
-rw-r--r--tvm-vendor.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/tvm-vendor.spec b/tvm-vendor.spec
index 4f4edde..c13e545 100644
--- a/tvm-vendor.spec
+++ b/tvm-vendor.spec
@@ -4,11 +4,12 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.9.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Wrapper around Apache TVM to make it available to the ROS ecosystem.
License: Apache License 2.0
URL: https://github.com/autowarefoundation/tvm_vendor/tree/main
Source0: %{RosPkgName}-%{src_version}.tar.gz
+Source1: tvm-v0.9.0.tar.gz
%global debug_package %{nil}
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
@@ -60,6 +61,7 @@ mkdir -p .obj && cd .obj
-UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
-DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \
+ -DTVM_SOURCE_URL=%{SOURCE1} \
..
make %{?_smp_mflags}
@@ -74,5 +76,10 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Thu Oct 22 2026 ai-importer <ai-importer@openeuler.org> - 0.9.1-2
+- Vendor TVM v0.9.0 source as Source1 to avoid network access in build sandbox
+- Patch CMakeLists.txt to use local tarball URL instead of git clone
+- Fix PATCH_COMMAND to use patch instead of git apply
+
* Thu Oct 22 2026 ai-importer <ai-importer@openeuler.org> - 0.9.1-1
- Initial import (ROS batch)