diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-12-18 12:02:33 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-12-18 12:02:33 -0500 |
commit | 9cba356dba5a20160911328339ba312ab8aa1158 (patch) | |
tree | c32a6fe56ae50b923bf66124e50ce9adadf1ba20 /www-client | |
parent | www-client/chromium: disable forced -fuse-ld=lld (diff) | |
download | gentoo-9cba356dba5a20160911328339ba312ab8aa1158.tar.gz gentoo-9cba356dba5a20160911328339ba312ab8aa1158.tar.bz2 gentoo-9cba356dba5a20160911328339ba312ab8aa1158.zip |
Revert "www-client/chromium: add memory check based on MAKEOPTS"
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
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/chromium-63.0.3239.108.ebuild | 14 | ||||
-rw-r--r-- | www-client/chromium/chromium-64.0.3282.24.ebuild | 14 | ||||
-rw-r--r-- | www-client/chromium/chromium-65.0.3294.5.ebuild | 14 |
3 files changed, 9 insertions, 33 deletions
diff --git a/www-client/chromium/chromium-63.0.3239.108.ebuild b/www-client/chromium/chromium-63.0.3239.108.ebuild index 992afee3e792..c5e75dfa71e9 100644 --- a/www-client/chromium/chromium-63.0.3239.108.ebuild +++ b/www-client/chromium/chromium-63.0.3239.108.ebuild @@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he 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/" @@ -164,24 +164,16 @@ pre_build_checks() { 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 } diff --git a/www-client/chromium/chromium-64.0.3282.24.ebuild b/www-client/chromium/chromium-64.0.3282.24.ebuild index c08e304f682e..299b79320806 100644 --- a/www-client/chromium/chromium-64.0.3282.24.ebuild +++ b/www-client/chromium/chromium-64.0.3282.24.ebuild @@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he 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/" @@ -164,24 +164,16 @@ pre_build_checks() { 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 } diff --git a/www-client/chromium/chromium-65.0.3294.5.ebuild b/www-client/chromium/chromium-65.0.3294.5.ebuild index ec0f466ce837..fe5b46bb9456 100644 --- a/www-client/chromium/chromium-65.0.3294.5.ebuild +++ b/www-client/chromium/chromium-65.0.3294.5.ebuild @@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he 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/" @@ -164,24 +164,16 @@ pre_build_checks() { 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 } |