summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-22 03:46:38 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-22 03:46:38 +0000
commitf977dfa36a5f0b62d1a5df551b1875ce283bfcdb (patch)
tree13b58bd6840c6e4eb16ad6815840eed0a04edab0
parent2a93696519a16020c6408822a947429950e3bce3 (diff)
automatic import of libopen3d-dev
-rw-r--r--libopen3d-dev.spec13
-rw-r--r--sources2
2 files changed, 12 insertions, 3 deletions
diff --git a/libopen3d-dev.spec b/libopen3d-dev.spec
index db3a367..a4d614d 100644
--- a/libopen3d-dev.spec
+++ b/libopen3d-dev.spec
@@ -33,6 +33,7 @@ Group: Development/Libraries
Packager: openEuler Builder <builder@openeuler.org>
BuildRequires: cmake
+BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: pkgconfig
@@ -146,10 +147,18 @@ sed -i 's#-DGLFW_BUILD_DOCS=OFF#-DGLFW_BUILD_DOCS=OFF\n -DGLFW_BUILD_WAYL
-DUSE_SYSTEM_EMBREE=OFF \
-DUSE_SYSTEM_VTK=OFF \
-DBUILD_VTK_FROM_SOURCE=ON
-%cmake_build
+
+# openEuler's cmake configure macro configures IN-SOURCE: it does not pass
+# -S/-B, so the cache lands in the unpacked source directory
+# (BUILD/libopen3d-dev-0.19.0). The cmake_build / cmake_install macros from
+# the same macro set, however, always use the out-of-source vpath directory
+# (the _vpath_builddir value, i.e. aarch64-openEuler-linux-gnu), which the
+# configure step never created -- hence "is not a directory". Drive the
+# already-configured in-source tree explicitly instead.
+%{__cmake} --build . %{?_smp_mflags} --verbose
%install
-%cmake_install
+DESTDIR=%{buildroot} %{__cmake} --install .
%files
%license LICENSE
diff --git a/sources b/sources
index 8f0eeb3..eab0f76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4cc0b359b232c85bfb6a4ca7fcee7a57 libopen3d-dev-0.19.0.tar.gz
+e2d57391ed4d98afe2112d33bceca54e libopen3d-dev-0.19.0.tar.gz