From d3e22bcc1141cd33dde7017f51058f18d428917c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 7 Oct 2019 09:50:51 +0200 Subject: gnu: icedtea-7: Support non-Intel systems. This is a followup to 1b6f99ea538d767099596860017e67755c1ac42f. * gnu/packages/java.scm (icedtea-7)[arguments]: In 'install-libjvm' phase, match armhf and aarch64. [supported-systems]: New field. --- gnu/packages/java.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 3b7404973a..452180eead 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1377,11 +1377,17 @@ bootstrapping purposes.") (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((lib-path (string-append (assoc-ref outputs "out") "/lib/" + ;; See 'INSTALL_ARCH_DIR' in + ;; 'configure'. ,(match (%current-system) ("i686-linux" "i386") ("x86_64-linux" - "amd64"))))) + "amd64") + ("armhf-linux" + "arm") + ("aarch64-linux" + "aarch64"))))) (symlink (string-append lib-path "/server/libjvm.so") (string-append lib-path "/libjvm.so"))) #t)) @@ -1529,6 +1535,10 @@ bootstrapping purposes.") (description "This package provides the Java development kit OpenJDK built with the IcedTea build harness.") + + ;; 'configure' lists "mips" and "mipsel", but not "mips64el'. + (supported-systems (delete "mips64el-linux" %supported-systems)) + ;; IcedTea is released under the GPL2 + Classpath exception, which is the ;; same license as both GNU Classpath and OpenJDK. (license license:gpl2+)))) -- cgit v1.2.3 From 048d21a8733f4173705ed59a22a03caddb876fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 7 Oct 2019 10:38:22 +0200 Subject: gnu: icedtea-7: Avoid massive rebuild. Reported by Efraim Flashner. * gnu/packages/java.scm (icedtea-7)[arguments]: Change 'lib-path' definition in 'install-libjvm' to avoid the rebuilds that commit 1b6f99ea538d767099596860017e67755c1ac42f would otherwise entail. --- gnu/packages/java.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 452180eead..1f5e39d9c6 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1376,18 +1376,17 @@ bootstrapping purposes.") (add-after 'install 'install-libjvm (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((lib-path (string-append (assoc-ref outputs "out") - "/lib/" ;; See 'INSTALL_ARCH_DIR' in ;; 'configure'. ,(match (%current-system) ("i686-linux" - "i386") + "/lib/i386") ("x86_64-linux" - "amd64") + "/lib/amd64") ("armhf-linux" - "arm") + "/lib/arm") ("aarch64-linux" - "aarch64"))))) + "/lib/aarch64"))))) (symlink (string-append lib-path "/server/libjvm.so") (string-append lib-path "/libjvm.so"))) #t)) -- cgit v1.2.3