From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78A6B138350 for ; Wed, 4 Mar 2020 15:41:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CBEEE0977; Wed, 4 Mar 2020 15:41:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43EE2E0977 for ; Wed, 4 Mar 2020 15:41:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B82F34F520 for ; Wed, 4 Mar 2020 15:41:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E92B471 for ; Wed, 4 Mar 2020 15:41:40 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1583336304.236ce6b9cbc7870e8d7baf094d68720bb5cc5678.zerochaos@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/config.sh X-VCS-Directories: defaults/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 236ce6b9cbc7870e8d7baf094d68720bb5cc5678 X-VCS-Branch: master Date: Wed, 4 Mar 2020 15:41:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fc43cefe-4a0e-4018-8925-c27d65985d3f X-Archives-Hash: 7e3766c3759b712307597f78c6853f6a commit: 236ce6b9cbc7870e8d7baf094d68720bb5cc5678 Author: Rick Farina (Zero_Chaos) gentoo org> AuthorDate: Wed Mar 4 15:36:52 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Wed Mar 4 15:38:24 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=236ce6b9 update MAKEOPTS default fallback we normally take 'portageq envvar MAKEOPTS' as the default MAKEOPTS, and if that isn't available we set a static -j2. Let's use all the cpus by default instead, and let the user override if they wish. Signed-off-by: Rick Farina (Zero_Chaos) gentoo.org> defaults/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/config.sh b/defaults/config.sh index 8c7cf7e..bab7b7e 100644 --- a/defaults/config.sh +++ b/defaults/config.sh @@ -33,7 +33,7 @@ DEFAULT_COMPRESS_INITRD=yes DEFAULT_COMPRESS_INITRD_TYPE=best PORTAGE_MAKEOPTS="$(portageq envvar MAKEOPTS)" -DEFAULT_MAKEOPTS="${PORTAGE_MAKEOPTS:- -j2}" +DEFAULT_MAKEOPTS="${PORTAGE_MAKEOPTS:- -j$(nproc)}" DEFAULT_MODULEREBUILD_CMD="emerge --ignore-default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild"