override_dh_auto_configure:
set -e; \
mem=$(shell sed -rne 's/^MemTotal: *([0-9]+) kB$$/\1/p' /proc/meminfo);
\
dpkg-architecture -qDEB_BUILD_ARCH | grep -q s390 \
&& mem=$$(($$mem + $(shell sed -rne 's/^SwapTotal: *([0-9]+)
kB$$/\1/p' /proc/meminfo))) || true; \
req_mem=1400; \
bits=$(shell dpkg-architecture -qDEB_HOST_ARCH_BITS); \
[ $$bits -ge 64 ] && req_mem=$$(($$req_mem * 2)) || true; \
if [ $$(($$req_mem * 1024)) -gt $$mem ]; then \
echo "You don't have enough RAM to build PyPy."; \
echo "It's known to require >= $$req_mem MiB on $$bits bit
archs."; \
exit 1; \
fi
So only physical memory is counted.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/945353
Title:
pypy version 1.8+dfsg-2 failed to build on armhf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pypy/+bug/945353/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs