From a231eabbe186e19bff77ac7dcb7cf00586df19be Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 22 Nov 2021 18:01:46 -0700 Subject: [PATCH] Try reducing parallel build ncpus on x86_64 due to possible build issue --- vtk.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vtk.spec b/vtk.spec index f63b14a..05e7801 100644 --- a/vtk.spec +++ b/vtk.spec @@ -475,6 +475,10 @@ export JAVA_TOOL_OPTIONS=-Xmx2048m # Likely running out of memory during build %global _smp_ncpus_max 3 %endif +%ifarch x86_64 +# Parallel build issue https://gitlab.kitware.com/vtk/vtk/-/issues/18394 +%global _smp_ncpus_max 3 +%endif %endif %global vtk_cmake_options \\\