guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: mes: Update to 0.25.


From: guix-commits
Subject: 02/03: gnu: mes: Update to 0.25.
Date: Sat, 11 Nov 2023 01:37:58 -0500 (EST)

janneke pushed a commit to branch master
in repository guix.

commit 552e15792b085d7eaba0a90bc0f178dcf44f2185
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Nov 8 12:06:58 2023 +0100

    gnu: mes: Update to 0.25.
    
    * gnu/packages/mes.scm (mes): Update to 0.25.
    [supported-systems]: Add aarch64-linux and riscv64-linux.
    [native-inputs]: For aarch64-linux, use arm-linux-gnueabihf compiler.
    Update to latest m2-planet (1.11.0).
    
    Change-Id: I8c4c46b1a0e30cdb4545186dfa93625a400bac0f
---
 gnu/packages/mes.scm | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index fa376c9ee8..97737bb3bd 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -154,15 +154,16 @@ parsers to allow execution with Guile as extension 
languages.")))
 (define-public mes
   (package
     (name "mes")
-    (version "0.24.2")
+    (version "0.25")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/mes/"
                                   "mes-" version ".tar.gz"))
               (sha256
                (base32
-                "0vp8v88zszh1imm3dvdfi3m8cywshdj7xcrsq4cgmss69s2y1nkx"))))
-    (supported-systems '("armhf-linux" "i686-linux" "x86_64-linux"))
+                "0h49h85m1jkppfsv95zdxdrrw1q1mwswhq81lwxj1nbyasrm0lij"))))
+    (supported-systems '("aarch64-linux" "armhf-linux" "i686-linux"
+                         "x86_64-linux" "riscv64-linux"))
     (propagated-inputs (list mescc-tools nyacc-1.00.2))
     (native-inputs
      (append (list guile-3.0)
@@ -174,10 +175,15 @@ parsers to allow execution with Guile as extension 
languages.")))
              ;; MesCC 64 bit .go files installed ready for use with Guile.
              (list (cross-binutils "i686-unknown-linux-gnu")
                    (cross-gcc "i686-unknown-linux-gnu")))
-            (else
-             '())))
+         ((string-prefix? "aarch64-linux" target-system)
+          ;; Use cross-compiler rather than #:system "armhf-linux" to get
+          ;; MesCC 64 bit .go files installed ready for use with Guile.
+          (let ((triplet "arm-linux-gnueabihf"))
+            (list (cross-binutils triplet) (cross-gcc triplet))))
+         (else
+          '())))
        (list graphviz help2man
-             m2-planet-1.9.0
+             m2-planet
              perl                               ;build-aux/gitlog-to-changelog
              texinfo)))
     (build-system gnu-build-system)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]