From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 18 00:06:15 2021 Received: (at submit) by debbugs.gnu.org; 18 Jul 2021 04:06:15 +0000 Received: from localhost ([127.0.0.1]:55001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4y4F-00030P-G7 for submit@debbugs.gnu.org; Sun, 18 Jul 2021 00:06:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:44416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4y4A-00030E-3b for submit@debbugs.gnu.org; Sun, 18 Jul 2021 00:06:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4y49-0008Hn-OR for guix-patches@gnu.org; Sun, 18 Jul 2021 00:06:09 -0400 Received: from out0.migadu.com ([94.23.1.103]:10614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4y46-00063B-Gt for guix-patches@gnu.org; Sun, 18 Jul 2021 00:06:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1626581162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GNUs5ucqQEQcEUKzsRvNpgzsURZjJZpJswV0epxp9lM=; b=VkyT63Ti/MhY7lUocEo+gwLmbHDGFSQwLR2z7ZuZIy+XqLxnbOUNVG3GnPFinJ2eJDcyvC Bb61fgCVnUBl1dSZbGwNxzFjXg+IxmYQ6bgGaPXwVVByQrm9FbwpoynpVQDiAd76nSg40x UcQ0Ji/srgebOkQb0SvwPEtkoFWt860= From: Sarah Morgensen To: guix-patches@gnu.org Subject: [PATCH] gnu: go-1.16: Honor #:parallel-build? Date: Sat, 17 Jul 2021 21:05:59 -0700 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=94.23.1.103; envelope-from=iskarian@mgsn.dev; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/golang.scm (go-1.16)[arguments]<#:phases>{build}: Honor parallel-build? --- Does what it says on the tin. (Looks like I missed in the original go-1.16 submission.) gnu/packages/golang.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a830afa022..7bbd62f3cd 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1513,10 +1513,12 @@ in the style of communicating sequential processes (@dfn{CSP}).") (substitute* "time/zoneinfo_unix.go" (("/usr/share/zoneinfo/") tzdata-path))))) (replace 'build - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key inputs outputs (parallel-build? #t) + #:allow-other-keys) ;; FIXME: Some of the .a files are not bit-reproducible. ;; (Is this still true?) - (let* ((output (assoc-ref outputs "out")) + (let* ((njobs (if parallel-build? (parallel-job-count) 1)) + (output (assoc-ref outputs "out")) (loader (string-append (assoc-ref inputs "libc") ,(glibc-dynamic-linker)))) (setenv "CC" (which "gcc")) @@ -1525,6 +1527,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (setenv "GOROOT" (dirname (getcwd))) (setenv "GOROOT_FINAL" output) (setenv "GOCACHE" "/tmp/go-cache") + (setenv "GOMAXPROCS" (number->string njobs)) (invoke "sh" "make.bash" "--no-banner")))) (replace 'check (lambda* (#:key target (tests? (not target)) (parallel-tests? #t) base-commit: 9cb35c02164d929fcb8929e7f454df215df8cf25 -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:05:04 2021 Received: (at 49616-done) by debbugs.gnu.org; 5 Aug 2021 14:05:04 +0000 Received: from localhost ([127.0.0.1]:47967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBdzb-0006wZ-P3 for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:05:03 -0400 Received: from flashner.co.il ([178.62.234.194]:42802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBdza-0006ve-5L for 49616-done@debbugs.gnu.org; Thu, 05 Aug 2021 10:05:02 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 60177401F2; Thu, 5 Aug 2021 14:04:56 +0000 (UTC) Date: Thu, 5 Aug 2021 17:03:53 +0300 From: Efraim Flashner To: Sarah Morgensen Subject: Re: [bug#49616] [PATCH] gnu: go-1.16: Honor #:parallel-build? Message-ID: Mail-Followup-To: Efraim Flashner , Sarah Morgensen , 49616-done@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qWf4w3eSLv/5W0Ll" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49616-done Cc: 49616-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --qWf4w3eSLv/5W0Ll Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cut the build phase down from 83 seconds to 41 for me. Patch pushed! --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qWf4w3eSLv/5W0Ll Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEL78gACgkQQarn3Mo9 g1Fs4g//eAWJLgp4cPyeDrCtjGf99K+g7UTEp+jqgtoV8s5sCpV2Xg4+Eaaz48sg rqQTuXD8JuwGXMaYr5pDSBNfuwGxsl2OSTgNnhsDtbUbeA2+AT/NanqviHFYNv5G bGTLivVZCAimybdtVdZldavXyhS+aKg40xju9fBc+XnrqEu06i68JowKWghJ1Qo2 IM+vISxdVN5B2SGm+O1HSK1WagEYdW9d+Ho4xDrbRmAgwD6mzuiQt0cACZdMwvmu nzW/MBhwrhleogUmFizqqk05BOs0RCHVJR45/yVJJx5n+J/mAV0qIikx4yfK6dc+ Y6wbJZpZsbymOPEqUIeICB8xBKiv+cVhjMpv9trqIzRQCz05qq1Shc/YXCBFTmzO 5YQQQdU2HGYS9BMa/+yD8MaH+BLMQFi6rzlmsVHDfnSP73t2kAWWYjG3f910eFb4 3IzYAyoePb5vTO6K+1+WowUp+UjPJ06ooNHSgfl4FgccY1UdXaUINQP/r7uX//hA TD6STl2Ejem3D3+GaUrYnBAN5ShmDQX/5ZqMUjgq+9yJOsyPPCA9XzwzmgRe0qqV lcq7urM14iUD2gb9TM/AcoyNtu6H9G+/UZNBwK4oaspa7/g5ylJrjh6l48ZlLyYe Dla/KgEqTv8RxTiw7N9ohCHG2XNYUemVZEvIfChffdw/0ocwURg= =tEKj -----END PGP SIGNATURE----- --qWf4w3eSLv/5W0Ll-- From unknown Sun Jun 15 10:57:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Sep 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator