summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-28 03:42:00 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-28 03:42:00 +0000
commite2f92b73db6471944adf858004bb0c65a1acc7bb (patch)
tree3f404a6559c983d8d58aa1bd3bcac673778e3c73
parenta3def99551cb07452e60239bf5b9f2512e83c0c9 (diff)
automatic import of rtabmapopeneuler24.03_LTS
-rw-r--r--rtabmap.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/rtabmap.spec b/rtabmap.spec
index 4765f06..45c1f86 100644
--- a/rtabmap.spec
+++ b/rtabmap.spec
@@ -87,10 +87,19 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
-DCMAKE_BUILD_TYPE=Release \
-DWITH_QT=OFF \
-DBUILD_EXAMPLES=OFF \
- -DBUILD_TOOLS=ON \
+ -DBUILD_TOOLS=OFF \
+ -DBUILD_APP=OFF \
+ -DWITH_TORO=OFF \
+ -DWITH_G2O=ON \
+ -DWITH_GTSAM=ON \
+ -DWITH_CERES=OFF \
+ -DWITH_VTK=OFF \
+ -DWITH_PYTHON=OFF \
..
-%make_build
+# Limit parallel jobs to reduce memory usage (EUR has only 2GB RAM)
+# Use -j1 to compile one file at a time
+%make_build -j1
%install
# Needed to bootstrap since the ros_workspace package does not yet exist.