Update to 10.0.1 (#2095665)
This commit is contained in:
parent
e0e5b2f2e3
commit
b65e867f23
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@
|
||||
/openvdb-8.1.0.tar.gz
|
||||
/openvdb-9.0.0.tar.gz
|
||||
/openvdb-9.1.0.tar.gz
|
||||
/openvdb-10.0.1.tar.gz
|
||||
|
29
openvdb.spec
29
openvdb.spec
@ -2,19 +2,20 @@
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
# Use soversion
|
||||
%global soversion 9.1
|
||||
%global soversion 10.0
|
||||
|
||||
# Set to 1 to enable testsuite. Fails everywhere with GCC 8+.
|
||||
%global with_tests 0
|
||||
|
||||
# Optional OpenEXR support
|
||||
%global with_openexr 0
|
||||
# Optional supports
|
||||
%global with_openexr 1
|
||||
%global with_ax 0
|
||||
|
||||
Name: openvdb
|
||||
Version: 9.1.0
|
||||
Version: 10.0.1
|
||||
Release: %autorelease
|
||||
Summary: C++ library for sparse volumetric data discretized on three-dimensional grids
|
||||
License: MPLv2.0
|
||||
License: MPL-2.0
|
||||
URL: http://www.openvdb.org/
|
||||
|
||||
Source0: https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
@ -31,6 +32,10 @@ BuildRequires: doxygen >= 1.8.11
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ghostscript >= 8.70
|
||||
BuildRequires: libstdc++-devel
|
||||
%if 0%{?with_ax}
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(blosc) >= 1.5.0
|
||||
BuildRequires: pkgconfig(cppunit) >= 1.10
|
||||
# RHEL and CentOS only have that build requirement for x86_64
|
||||
@ -112,11 +117,9 @@ sed -i \
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2021376
|
||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
%ifarch ppc64le s390x
|
||||
%ifarch ppc64le
|
||||
%undefine _smp_mflags
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
export CXXFLAGS="%{build_cxxflags} -Wl,--as-needed"
|
||||
|
||||
# Ignore versions (python 3, etc.)
|
||||
@ -134,11 +137,19 @@ export CXXFLAGS="%{build_cxxflags} -Wl,--as-needed"
|
||||
-DOPENVDB_ENABLE_RPATH=OFF \
|
||||
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
|
||||
-DPYOPENVDB_INSTALL_DIRECTORY=%{python3_sitearch} \
|
||||
%if 0%{?with_ax}
|
||||
-DHAVE_FFI_CALL=ON \
|
||||
-DUSE_AX=ON \
|
||||
%endif
|
||||
%if 0%{?with_openexr}
|
||||
-DUSE_EXR=ON \
|
||||
%endif
|
||||
-DUSE_NANOVDB=ON
|
||||
%ifarch ppc64le && %if 0%{?fedora} >= 38
|
||||
%cmake_build -j1
|
||||
%else
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
%if 0%{?with_tests}
|
||||
%check
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (openvdb-9.1.0.tar.gz) = 434be61b03efec5d0022594d81064dce5f67595c1e34934d79e13627e573d2819bf947ca5b433fdca134642975b83eda71b46cf802f57e135d1611dbe2e5757e
|
||||
SHA512 (openvdb-10.0.1.tar.gz) = 361cef8932b69b19ee94c47fe78f665a1acabfabc3f45ff9f490e830f73ff092c42f56ce698677476a8ccf062c89e3e4dc6d4c550aa6842438cbd4d404ee83bb
|
||||
|
Loading…
Reference in New Issue
Block a user