[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35753] [PATCH v2] gnu: mes: Prepare for non-x86 architectures.
From: |
Ludovic Courtès |
Subject: |
[bug#35753] [PATCH v2] gnu: mes: Prepare for non-x86 architectures. |
Date: |
Tue, 21 May 2019 15:53:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi Danny,
Danny Milosavljevic <address@hidden> 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’.