Don't fail build on 1-core-VM #1

Merged
mslacken merged 1 commits from bmwiedemann/rocsolver:j1 into main 2025-11-20 08:40:33 +01:00
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 20 07:35:23 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.de>
- Don't fail build on 1-core-VM
-------------------------------------------------------------------
Tue Nov 11 14:48:08 UTC 2025 - Tom Rix <Tom.Rix@amd.com>

View File

@@ -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