From: "Ludovic Courtès" <ludo@gnu.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 35753@debbugs.gnu.org
Subject: [bug#35753] [PATCH v2] gnu: mes: Prepare for non-x86 architectures.
Date: Tue, 21 May 2019 15:53:12 +0200 [thread overview]
Message-ID: <874l5n3odz.fsf@gnu.org> (raw)
In-Reply-To: <20190515165336.7816-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Wed, 15 May 2019 18:53:36 +0200")
Hi Danny,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> * gnu/packages/mes.scm (mes)[native-inputs]: Prepare for non-x86
> architectures.
Please describe the change in terms of what’s added/remove from
‘native-inputs’.
> + (native-inputs
> + `(("guile" ,guile-2.2)
> + ,@(let ((target-system (or (%current-target-system)
> + (%current-system))))
> + (cond
> + ((string-prefix? "x86_64-linux" target-system)
> + ;; Use cross-compiler rather than #:system "i686-linux" to get
> + ;; MesCC 64 bit .go files installed ready for use with Guile.
> + `(("i686-linux-binutils" ,(cross-binutils "i686-unknown-linux-gnu"))
> + ("i686-linux-gcc" ,(cross-gcc "i686-unknown-linux-gnu"))))
> + (else
> + '())))
LGTM, thanks!
Looking forward to Mes on ARM!
Ludo’.
prev parent reply other threads:[~2019-05-21 13:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-15 15:42 [bug#35753] [PATCH] gnu: mes: Prepare for non-x86 architectures Danny Milosavljevic
2019-05-15 16:53 ` [bug#35753] [PATCH v2] " Danny Milosavljevic
2019-05-21 13:53 ` Ludovic Courtès [this message]
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=874l5n3odz.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=35753@debbugs.gnu.org \
--cc=dannym@scratchpost.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).