This reverts commit
7efa454f0f38f0ec0cc36404faf7a16600e8a0f4.
The job count may not have a direct relationship with memory usage in
certain circumstances. Users are expected to manage their MAKEOPTS with
respect to both CPU cores and available memory and other factors like
use for ccache and distcc.
Closes: https://bugs.gentoo.org/641564
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib multiprocessing ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
fi
# Check build requirements, bug #541816 and bug #471810 .
- local reqmem=3
+ CHECKREQS_MEMORY="3G"
CHECKREQS_DISK_BUILD="5G"
eshopts_push -s extglob
if is-flagq '-g?(gdb)?([1-9])'; then
CHECKREQS_DISK_BUILD="25G"
if ! use component-build; then
- reqmem=16
+ CHECKREQS_MEMORY="16G"
fi
fi
eshopts_pop
-
- local jobs=$(makeopts_jobs)
- if (( jobs > reqmem )); then
- CHECKREQS_MEMORY="${jobs}G"
- else
- CHECKREQS_MEMORY="${reqmem}G"
- fi
-
check-reqs_pkg_setup
}
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib multiprocessing ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
fi
# Check build requirements, bug #541816 and bug #471810 .
- local reqmem=3
+ CHECKREQS_MEMORY="3G"
CHECKREQS_DISK_BUILD="5G"
eshopts_push -s extglob
if is-flagq '-g?(gdb)?([1-9])'; then
CHECKREQS_DISK_BUILD="25G"
if ! use component-build; then
- reqmem=16
+ CHECKREQS_MEMORY="16G"
fi
fi
eshopts_pop
-
- local jobs=$(makeopts_jobs)
- if (( jobs > reqmem )); then
- CHECKREQS_MEMORY="${jobs}G"
- else
- CHECKREQS_MEMORY="${reqmem}G"
- fi
-
check-reqs_pkg_setup
}
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib multiprocessing ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
fi
# Check build requirements, bug #541816 and bug #471810 .
- local reqmem=3
+ CHECKREQS_MEMORY="3G"
CHECKREQS_DISK_BUILD="5G"
eshopts_push -s extglob
if is-flagq '-g?(gdb)?([1-9])'; then
CHECKREQS_DISK_BUILD="25G"
if ! use component-build; then
- reqmem=16
+ CHECKREQS_MEMORY="16G"
fi
fi
eshopts_pop
-
- local jobs=$(makeopts_jobs)
- if (( jobs > reqmem )); then
- CHECKREQS_MEMORY="${jobs}G"
- else
- CHECKREQS_MEMORY="${reqmem}G"
- fi
-
check-reqs_pkg_setup
}