summaryrefslogtreecommitdiff
path: root/tvm-vendor.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-22 15:33:29 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-22 15:33:29 +0000
commitd6c928ca31b17bcf7b0a57ca9a897cca2a95b717 (patch)
tree302f9e2fce7d6e7542cc72a420d59caa254f3e7e /tvm-vendor.spec
parent274181aa109a8e3a94a13a12f6e4038025db2de2 (diff)
automatic import of ros-humble-tvm-vendoropeneuler24.03_LTS_SP3
Diffstat (limited to 'tvm-vendor.spec')
-rw-r--r--tvm-vendor.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/tvm-vendor.spec b/tvm-vendor.spec
index 72bbd58..0c6fda1 100644
--- a/tvm-vendor.spec
+++ b/tvm-vendor.spec
@@ -4,7 +4,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.9.1
-Release: 4%{?dist}
+Release: 5%{?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
@@ -63,6 +63,8 @@ mkdir -p .obj && cd .obj
-DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \
-DTVM_SOURCE_URL=%{SOURCE1} \
..
+export CFLAGS="${CFLAGS} -I/usr/include/openblas"
+export CXXFLAGS="${CXXFLAGS} -I/usr/include/openblas"
make %{?_smp_mflags}
%install
@@ -76,6 +78,13 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Thu Oct 22 2026 ai-importer <ai-importer@openeuler.org> - 0.9.1-5
+- Fix cblas.h: No such file or directory in tvm_runtime_objs
+- openblas-devel installs cblas.h under /usr/include/openblas/ (not /usr/include/)
+- TVM BLAS.cmake openblas branch only find_library, no include_directories
+- Export CFLAGS/CXXFLAGS with -I/usr/include/openblas so ExternalProject
+ child cmake inherits the header search path from environment
+
* Thu Oct 22 2026 ai-importer <ai-importer@openeuler.org> - 0.9.1-4
- Fix _libspirv-NOTFOUND: replace spirv-tools (CLI only) with spirv-tools-devel
(provides libspirv.h header needed by TVM's FindVulkan.cmake)