guix-commits
[Top][All Lists]
Advanced

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

10/50: gnu: Add jamvm-with-ecj4.


From: guix-commits
Subject: 10/50: gnu: Add jamvm-with-ecj4.
Date: Thu, 23 Dec 2021 12:52:31 -0500 (EST)

rekado pushed a commit to branch wip-java-bootstrap-simplify
in repository guix.

commit e71ea8545325dbae0f79540b1d2019c82c359baa
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 17 22:55:54 2021 +0100

    gnu: Add jamvm-with-ecj4.
    
    * gnu/packages/java.scm (jamvm-with-ecj4): New variable.
---
 gnu/packages/java.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 23691fc..c1b3032 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -877,6 +877,13 @@ supports sufficient parts of Java 7 to build Icedtea 2.x.")
     (native-inputs
      (list guile-3.0 ecj4-bootstrap jamvm classpath-devel))))
 
+(define jamvm-with-ecj4
+  (package
+    (inherit jamvm)
+    (inputs
+     (modify-inputs (package-inputs jamvm)
+       (replace "ecj-javac-wrapper" ecj4-javac-wrapper)))))
+
 ;; The bootstrap JDK consisting of jamvm, classpath-devel,
 ;; ecj-javac-wrapper-final cannot build Icedtea 2.x directly, because it's
 ;; written in Java 7.  It can, however, build the unmaintained Icedtea 1.x,



reply via email to

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