summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-30 06:56:43 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-30 06:56:43 +0000
commit185e7384a634321500aa911d25c3df51a0d9d43e (patch)
tree1ed87e91c44d76ab019273a0dcecf61ad1d371f6
parent15809f7ce190d2059721ff8af4232c079e0ecf6e (diff)
automatic import of nav2-voxel-gridopeneuler24.03_LTS
-rw-r--r--nav2-voxel-grid.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/nav2-voxel-grid.spec b/nav2-voxel-grid.spec
index 15c4c9c..d56ff1c 100644
--- a/nav2-voxel-grid.spec
+++ b/nav2-voxel-grid.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -39,7 +39,7 @@ Provides: %{name}-runtime = %{version}-%{release}
voxel_grid provides an implementation of an efficient 3D voxel grid. The occupancy grid can support 3 different representations for the state of a cell: marked, free, or unknown. Due to the underlying implementation relying on bitwise and and or integer operations, the voxel grid only supports 16 different levels per voxel column. However, this limitation yields raytracing and cell marking performance in the grid comparable to standard 2D structures making it quite fast compared to most 3D structures.
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -63,7 +63,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \
%endif
- ../%{RosPkgName}-%{version}
+ ..
%make_build