diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-28 06:17:24 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-28 06:17:24 +0000 |
| commit | 193c27bdc3a149e7e76fae28818bcbf76cbc8660 (patch) | |
| tree | d9c52f4bcab337f85d26dc92e33d6a138a1082cd /rtabmap.spec | |
| parent | e0851e4574c7a4b1e6bcfe332951457042e7af5c (diff) | |
automatic import of ros-humble-rtabmapopeneuler24.03_LTS
Diffstat (limited to 'rtabmap.spec')
| -rw-r--r-- | rtabmap.spec | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/rtabmap.spec b/rtabmap.spec index 1eb97fe..45c1f86 100644 --- a/rtabmap.spec +++ b/rtabmap.spec @@ -81,14 +81,25 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ - -DWITH_QT=OFF \ - -DBUILD_EXAMPLES=OFF \ %if !0%{?with_tests} -DBUILD_TESTING=OFF \ %endif + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_QT=OFF \ + -DBUILD_EXAMPLES=OFF \ + -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. |
