diff --git a/rocsolver.changes b/rocsolver.changes index 7f296f0..e54bacb 100644 --- a/rocsolver.changes +++ b/rocsolver.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 20 07:35:23 UTC 2025 - Bernhard Wiedemann + +- Don't fail build on 1-core-VM + ------------------------------------------------------------------- Tue Nov 11 14:48:08 UTC 2025 - Tom Rix diff --git a/rocsolver.spec b/rocsolver.spec index 0505c5a..772eb60 100644 --- a/rocsolver.spec +++ b/rocsolver.spec @@ -233,7 +233,9 @@ if [ ${HIP_JOBS} = 1 ]; then HIP_JOBS=4 fi fi -HIP_JOBS=`eval "expr ${HIP_JOBS} / 2"` +if [ ${HIP_JOBS} != 1 ] ; then + HIP_JOBS=`expr ${HIP_JOBS} / 2` +fi # Take into account memmory usage per core, do not thrash real memory BUILD_MEM=32