unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: Guix Devel <guix-devel@gnu.org>, Christopher Baines <mail@cbaines.net>
Subject: Re: Julia packages on build farms?
Date: Wed, 06 Jul 2022 14:09:39 +0200	[thread overview]
Message-ID: <87a69mzblo.fsf@gmail.com> (raw)
In-Reply-To: <YsVzHY0MkHn4t3R5@3900XT>

Hi,

On mer., 06 juil. 2022 at 14:33, Efraim Flashner <efraim@flashner.co.il> wrote:

> I added a patch to tbb on 4 July to add support for riscv64 (and maybe
> other architectures) and that caused a rebuild of julia. I have since
> rebuilt all the julia packages locally. I did find that sometimes while
> building all the packages in one go some of them failed and needed to be
> restarted. After 2 rounds all the packages (guix package -A ^julia-)
> built without any issues on x86_64.

Thanks for the explanations.

Instead of,

    guix build $(guix package -A ^julia-)

I use

   guix build -m julia-packages.scm

where julia-packages.scm reads

--8<---------------cut here---------------start------------->8---
(use-modules (guix build-system julia)
             (guix packages)
             (guix profiles)
             (gnu packages))


(manifest
 (map package->manifest-entry
      (fold-packages
       (lambda (package result)
         (if (eq? (package-build-system package) julia-build-system)
             (cons package result)
             result))
       '())))
--8<---------------cut here---------------end--------------->8---


Well, I do not know if it avoids the failure in the “one go” case.


Cheers,
simon


  reply	other threads:[~2022-07-06 12:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 11:25 Julia packages on build farms? zimoun
2022-07-06 11:33 ` Efraim Flashner
2022-07-06 12:09   ` zimoun [this message]
2022-07-07  8:03     ` Ludovic Courtès
2022-07-06 11:41 ` Christopher Baines
2022-07-06 11:59   ` zimoun
2022-07-06 12:56     ` Christopher Baines

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=87a69mzblo.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    /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).