From 3e593261371d1ba5e9a3024f469ee942a323c7e8 Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Thu, 15 Dec 2022 00:20:12 -0800 Subject: [PATCH] Increase memory usage for ppc64le architecture --- openvdb.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/openvdb.spec b/openvdb.spec index 82c6d0d..6b151de 100644 --- a/openvdb.spec +++ b/openvdb.spec @@ -145,11 +145,9 @@ export CXXFLAGS="%{build_cxxflags} -Wl,--as-needed" -DUSE_EXR=ON \ %endif -DUSE_NANOVDB=ON -%ifarch ppc64le && %if 0%{?fedora} >= 38 -%cmake_build -j1 -%else -%cmake_build -%endif +# Increase memory usage to 8GB for a successful +# build on ppc64le architecture +%cmake_build %limit_build -m 8192 %if 0%{?with_tests} %check