unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 55757@debbugs.gnu.org
Subject: [bug#55757] reproducible builds: disable parllel build in isl
Date: Wed, 01 Jun 2022 15:29:16 -0700	[thread overview]
Message-ID: <87a6awaugz.fsf@contorta> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 510 bytes --]

The attached patch makes isl build reproducibly in guix by disabling
parallelism.

Admittedly, I'm unsure what the root cause is, and Debian's build of isl
does not appear to have this problem, despite building in parallel.

Seems like patches to isl should go to core-updates:

  $ guix refresh --list-dependent isl                                                               
  Building the following 2192 packages would ensure 5967 dependent packages are rebuilt: ...


live well,
  vagrant

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-isl-Disable-parallel-build.patch --]
[-- Type: text/x-diff, Size: 997 bytes --]

From 234e662df27771742b3e8b82e2115284e1cab5a8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 1 Jun 2022 11:58:41 -0700
Subject: [PATCH 1/4] gnu: isl: Disable parallel build.

* gnu/packages/gcc.scm (isl)[arguments]: Pass parallel-build #f.
---
 gnu/packages/gcc.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index cd144772b8..560a35af2d 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1218,7 +1218,8 @@ (define-public isl
     (build-system gnu-build-system)
     (outputs '("out" "static"))
     (arguments
-     '(#:phases (modify-phases %standard-phases
+     '(#:parallel-build? #f
+       #:phases (modify-phases %standard-phases
                   (add-after 'install 'move-static-library
                     (lambda* (#:key outputs #:allow-other-keys)
                       (let* ((out (assoc-ref outputs "out"))
-- 
2.35.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

             reply	other threads:[~2022-06-01 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01 22:29 Vagrant Cascadian [this message]
2022-06-01 22:49 ` [bug#55757] reproducible builds: disable parllel build in isl Maxime Devos
2022-06-01 23:14   ` Tobias Geerinckx-Rice via Guix-patches via
2022-06-09 15:28 ` Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6awaugz.fsf@contorta \
    --to=vagrant@reproducible-builds.org \
    --cc=55757@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).