From 552e15792b085d7eaba0a90bc0f178dcf44f2185 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 8 Nov 2023 12:06:58 +0100 Subject: [PATCH] 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 @@ (define-public nyacc-1.00.2 (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 @@ (define-public mes ;; 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)