[packages/openvdb] - try to reduce g++ memory consumption on 32-bit archs
qboosh
qboosh at pld-linux.org
Fri May 5 17:55:51 CEST 2023
commit 4b6829ff67404b3e871c05b31bac43b8ddc9dd61
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri May 5 17:58:12 2023 +0200
- try to reduce g++ memory consumption on 32-bit archs
openvdb.spec | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/openvdb.spec b/openvdb.spec
index a8fab03..f8c4330 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -99,21 +99,25 @@ Python interface to OpenVDB library.
Interfejs Pythona do biblioteki OpenVDB.
%package apidocs
-Summary: API documentation for %{name} library
-Summary(pl.UTF-8): Dokumentacja API biblioteki %{name}
+Summary: API documentation for OpenVDB library
+Summary(pl.UTF-8): Dokumentacja API biblioteki OpenVDB
Group: Documentation
BuildArch: noarch
%description apidocs
-API documentation for %{name} library.
+API documentation for OpenVDB library.
%description apidocs -l pl.UTF-8
-Dokumentacja API biblioteki %{name}.
+Dokumentacja API biblioteki OpenVDB.
%prep
%setup -q
%build
+%ifarch %{ix86} x32
+# with default settings g++ fails with virtual memory exhausted on 32-bit x86 systems
+CXXFLAGS="%{rpmcxxflags} --param ggc-min-expand=20 --param ggc-min-heapsize=65536"
+%endif
%cmake -B build \
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/openvdb \
%{?with_llvm:-DOPENVDB_BUILD_AX=ON} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openvdb.git/commitdiff/4b6829ff67404b3e871c05b31bac43b8ddc9dd61
More information about the pld-cvs-commit
mailing list