3
0
Tomáš Chvátal 2018-04-06 12:10:42 +00:00 committed by Git OBS Bridge
parent dd93b65456
commit c5f3d2da75

View File

@ -7,8 +7,8 @@
# m: memory limit in Bs per core; default is 1000000
%limit_build(m:) \
_threads="`/usr/bin/getconf _NPROCESSORS_ONLN`"
_core_memory="%{-m:%{-m*}}%{!-m:1000000}"
_threads="`/usr/bin/getconf _NPROCESSORS_ONLN`" \
_core_memory="%{-m:%{-m*}}%{!-m:1000000}" \
echo "Available memory:" \
cat /proc/meminfo \
echo "System limits:" \