guix-patches
[Top][All Lists]
Advanced

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

bug#26966: [PATCH 10/22] gnu: Add ecj-javac-on-jamvm-wrapper.


From: Ricardo Wurmus
Subject: bug#26966: [PATCH 10/22] gnu: Add ecj-javac-on-jamvm-wrapper.
Date: Mon, 22 May 2017 19:01:23 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Roel Janssen <address@hidden> writes:

> Ricardo Wurmus writes:
>
>> * gnu/packages/java.scm (ecj-javac-on-jamvm-wrapper): New variable.
>> ---
>>  gnu/packages/java.scm | 86 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 86 insertions(+)
>>
>> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
>> index ae9a5b3d7..940587057 100644
>> --- a/gnu/packages/java.scm
>> +++ b/gnu/packages/java.scm
>> @@ -542,6 +542,92 @@ gnu.classpath.tools.~a.~a $@"
>>  the GNU Classpath library.  They are executed by the JamVM virtual
>>  machine.")))
>>
>> +(define ecj-javac-on-jamvm-wrapper
>> +  (package (inherit ecj-javac-wrapper)
>> +    (name "ecj-javac-on-jamvm-wrapper")
>> +    (arguments
>> +     `(#:modules ((guix build utils))
>> +       #:builder
>> +       ;; TODO: This builder is exactly the same as in ecj-javac-wrapper,
>> +       ;; except that the backend is 'jamvm here.  Can we reuse the same
>> +       ;; builder somehow?
>
> That would be nice to reuse the same builder.  Maybe we could create a
> package for the builder function that will generate the builder code.

I don’t know how.  It would be easy if we could use a plain gexp as a
builder.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






reply via email to

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