The package rpms/openvdb.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/openvdb.git/commit/?id=1072aa48c9...
https://src.fedoraproject.org/cgit/rpms/openvdb.git/commit/?id=451bb2c5c3....
Change:
+%ifarch %{arm}
+ExcludeArch: armv7hl
Thanks.
Full change:
============
commit 630aef305ed1e33e6b812ddd88139586d093ac82
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Wed Nov 24 21:17:34 2021 -0800
Enable NanoVDB support as module for OpenVDB
diff --git a/openvdb.spec b/openvdb.spec
index d32dc9b..67923ce 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -4,9 +4,12 @@
# Set to 1 to enable testsuite. Fails everywhere with GCC 8+.
%global with_tests 0
+# Optional OpenEXR support
+%global with_openexr 0
+
Name: openvdb
Version: 9.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional
grids
License: MPLv2.0
URL:
http://www.openvdb.org/
@@ -16,7 +19,7 @@ Source0:
https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{
BuildRequires: boost-devel >= 1.61
# boost-python3-devel merged in boost-devel for Fedora 33+
#
https://src.fedoraproject.org/rpms/boost/c/1f2e448e099a867f9da62b9da009d3...
-%if 0%{?fedora} < 33
+%if 0%{?rhel}
BuildRequires: boost-python3-devel
%endif
BuildRequires: cmake >= 2.8
@@ -27,7 +30,7 @@ BuildRequires: ghostscript >= 8.70
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig(blosc) >= 1.5.0
BuildRequires: pkgconfig(cppunit) >= 1.10
-# RHEL and CentOS only has that build requirement for x86_64
+# RHEL and CentOS only have that build requirement for x86_64
%if 0%{?rhel}
%ifarch x86_64
BuildRequires: glfw-devel >= 2.7
@@ -37,11 +40,13 @@ BuildRequires: pkgconfig(glfw3) >= 2.7
%endif
BuildRequires: pkgconfig(jemalloc)
BuildRequires: pkgconfig(log4cplus) >= 1.0
+%if 0%{?with_openexr}
+BuildRequires: pkgconfig(OpenEXR) >= 3.0
+%endif
BuildRequires: pkgconfig(tbb) >= 3.0
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(zlib) > 1.2.7
-
%description
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
hierarchical data structure and a suite of tools for the efficient storage and
@@ -120,7 +125,11 @@ export CXXFLAGS="%{build_cxxflags} -Wl,--as-needed"
-DOPENVDB_BUILD_UNITTESTS=OFF \
-DOPENVDB_ENABLE_RPATH=OFF \
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
- -DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch}
+ -DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch} \
+%if 0%{?with_openexr}
+ -DUSE_EXR=ON \
+%endif
+ -DUSE_NANOVDB=ON
%cmake_build
%if 0%{?with_tests}
@@ -139,6 +148,7 @@ find %{buildroot} -name '*.a' -delete
%files
%{_bindir}/vdb_print
+%{_bindir}/nanovdb_{print,validate}
%files libs
%license LICENSE
@@ -157,8 +167,11 @@ find %{buildroot} -name '*.a' -delete
%{_libdir}/lib%{name}.so
%changelog
+* Sun Nov 21 2021 Luya Tshimbalanga <luya(a)fedoraproject.org> - 9.0.0-2
+- Enable NanoVDB support as module for OpenVDB
+
* Sat Oct 30 2021 Luya Tshimbalanga <luya(a)fedoraproject.org> - 9.0.0-1
-- Update to 9.0.0
+- Update to 9.0.0 (#2018706)
- Exclude arm7 architecture due to exhausted virtual memory
* Fri Aug 20 2021 Richard Shaw <hobbes1069(a)gmail.com> - 8.1.0-6
commit 1072aa48c97e07cbe8fb43743d4be43a5470e883
Author: Dan Horák <dan(a)danny.cz>
Date: Wed Nov 24 11:07:40 2021 +0100
workaround OOM on armv7 builders (#2021376)
diff --git a/openvdb.spec b/openvdb.spec
index 91fc074..d32dc9b 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -41,11 +41,6 @@ BuildRequires: pkgconfig(tbb) >= 3.0
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(zlib) > 1.2.7
-# Temporarily exclude armv7hl support due to
-# exhausted virtual memory
-#
https://bugzilla.redhat.com/show_bug.cgi?id=2021376
-ExcludeArch: armv7hl
-
%description
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
@@ -105,7 +100,11 @@ sed -i \
%build
-export CXXFLAGS="%{optflags} -Wl,--as-needed"
+%ifarch %{arm}
+#
https://bugzilla.redhat.com/show_bug.cgi?id=2021376
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
+export CXXFLAGS="%{build_cxxflags} -Wl,--as-needed"
# Ignore versions (python 3, etc.)
%cmake \
commit 451bb2c5c34ee575c17bce596694cd4aecba6dc5
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Thu Nov 18 18:41:26 2021 -0800
Update to 9.0.0
Exclude arm7 architecture due to exhausted virtual memory
diff --git a/openvdb.spec b/openvdb.spec
index 015d0b7..91fc074 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -44,7 +44,7 @@ BuildRequires: pkgconfig(zlib) > 1.2.7
# Temporarily exclude armv7hl support due to
# exhausted virtual memory
#
https://bugzilla.redhat.com/show_bug.cgi?id=2021376
-# ExcludeArch: armv7hl
+ExcludeArch: armv7hl
%description
@@ -160,6 +160,7 @@ find %{buildroot} -name '*.a' -delete
%changelog
* Sat Oct 30 2021 Luya Tshimbalanga <luya(a)fedoraproject.org> - 9.0.0-1
- Update to 9.0.0
+- Exclude arm7 architecture due to exhausted virtual memory
* Fri Aug 20 2021 Richard Shaw <hobbes1069(a)gmail.com> - 8.1.0-6
- Rebuild for OpenEXR/Imath 3.1.
commit dd35663348b13cfab224a0ae9b7f8c0a47bb083a
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat Nov 13 02:08:32 2021 -0800
Update to 9.0.0
diff --git a/.gitignore b/.gitignore
index e46bb01..f3ec5ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/openvdb-8.0.0.tar.gz
/openvdb-8.0.1.tar.gz
/openvdb-8.1.0.tar.gz
+/openvdb-9.0.0.tar.gz
diff --git a/openvdb.spec b/openvdb.spec
index 9d15a0b..015d0b7 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -5,8 +5,8 @@
%global with_tests 0
Name: openvdb
-Version: 8.1.0
-Release: 6%{?dist}
+Version: 9.0.0
+Release: 1%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional
grids
License: MPLv2.0
URL:
http://www.openvdb.org/
@@ -41,6 +41,12 @@ BuildRequires: pkgconfig(tbb) >= 3.0
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(zlib) > 1.2.7
+# Temporarily exclude armv7hl support due to
+# exhausted virtual memory
+#
https://bugzilla.redhat.com/show_bug.cgi?id=2021376
+# ExcludeArch: armv7hl
+
+
%description
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
hierarchical data structure and a suite of tools for the efficient storage and
@@ -100,6 +106,7 @@ sed -i \
%build
export CXXFLAGS="%{optflags} -Wl,--as-needed"
+
# Ignore versions (python 3, etc.)
%cmake \
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=TRUE \
@@ -138,7 +145,7 @@ find %{buildroot} -name '*.a' -delete
%license LICENSE
%doc README.md CHANGES
%{_libdir}/lib%{name}.so.%{version}
-%{_libdir}/lib%{name}.so.8.1
+%{_libdir}/lib%{name}.so.9.0
%if 0%{?fedora}
%files -n python3-%{name}
@@ -151,6 +158,9 @@ find %{buildroot} -name '*.a' -delete
%{_libdir}/lib%{name}.so
%changelog
+* Sat Oct 30 2021 Luya Tshimbalanga <luya(a)fedoraproject.org> - 9.0.0-1
+- Update to 9.0.0
+
* Fri Aug 20 2021 Richard Shaw <hobbes1069(a)gmail.com> - 8.1.0-6
- Rebuild for OpenEXR/Imath 3.1.
diff --git a/sources b/sources
index 1d21641..b2e87c1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openvdb-8.1.0.tar.gz) =
081ccedb122ff9bd73e0cd7ff083ad0ff0165e0cf6305187edcbe90ff12f01ec085c91ad5c52c53596035e0c2afd5b8801e6c00374b0fc4b0cc111f5c7f37eb5
+SHA512 (openvdb-9.0.0.tar.gz) =
1410b7b04b03fb09d6775ebe7b95e7c0a484d5f29c84203530ed30ccb7c061470be1abb93189010617342e57f3fecdd66a115c6d222024e68e2384a7fb196194