[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-java-aarch64 updated: WIP
From: |
guix-commits |
Subject: |
branch wip-java-aarch64 updated: WIP |
Date: |
Sun, 01 Jan 2023 11:03:13 -0500 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch wip-java-aarch64
in repository guix.
The following commit(s) were added to refs/heads/wip-java-aarch64 by this push:
new c9aeee51ea WIP
c9aeee51ea is described below
commit c9aeee51ea7243cabbf6b983eacf7ac326e05967
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Jan 1 17:02:42 2023 +0100
WIP
---
gnu/packages/java.scm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 00fbc1ac70..002d7bed3b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1529,7 +1529,15 @@ new Date();"))
(for-each delete-file
(find-files "." ".*.(bin|exe|jar)$"))
#t))))
- (build-system gnu-build-system)
+ (build-system
+ (if (string-prefix? "aarch64" (or (%current-system)
+ (%current-target-system)))
+ ;; On aarch64 OpenJDK 9 only builds with an older version of GCC.
+ ;; See https://bugs.openjdk.org/browse/JDK-8224851 for details
+ ;; and changes that could be backported.
+ (build-system-with-c-toolchain
+ gnu-build-system `(("gcc" ,gcc-7)))
+ gnu-build-system))
(outputs '("out" "jdk" "doc"))
(arguments
`(#:tests? #f; require jtreg
@@ -1688,14 +1696,7 @@ new Date();"))
("make@4.2" ,gnu-make-4.2)
("unzip" ,unzip)
("which" ,which)
- ("zip" ,zip)
- ,@(if (string-prefix? "aarch64" (or (%current-system)
- (%current-target-system)))
- ;; On aarch64 OpenJDK 9 only builds with an older version of GCC.
- ;; See https://bugs.openjdk.org/browse/JDK-8224851 for details
- ;; and changes that could be backported.
- `(("gcc" ,gcc-7))
- '())))
+ ("zip" ,zip)))
(home-page "https://openjdk.java.net/projects/jdk9/")
(synopsis "Java development kit")
(description
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-java-aarch64 updated: WIP,
guix-commits <=