workaround OOM on armv7 builders (#2021376)
This commit is contained in:
parent
451bb2c5c3
commit
1072aa48c9
11
openvdb.spec
11
openvdb.spec
@ -41,11 +41,6 @@ BuildRequires: pkgconfig(tbb) >= 3.0
|
|||||||
BuildRequires: pkgconfig(xi)
|
BuildRequires: pkgconfig(xi)
|
||||||
BuildRequires: pkgconfig(zlib) > 1.2.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
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
|
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
|
||||||
@ -105,7 +100,11 @@ sed -i \
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%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.)
|
# Ignore versions (python 3, etc.)
|
||||||
%cmake \
|
%cmake \
|
||||||
|
Loading…
Reference in New Issue
Block a user