jextract standalone repository
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Mar 24 12:16:06 UTC 2022
On 24/03/2022 12:14, Sebastian Stenzel wrote:
> Awesome, building the whole JDK for all platforms just to get a recent
> version of jextract was a bit of a hassle.
>
> Btw: I drafted a little Maven wrapper for jextract this morning:
> https://github.com/coffeelibs/jextract-maven-plugin
> <https://urldefense.com/v3/__https://github.com/coffeelibs/jextract-maven-plugin__;!!ACWV5N9M2RV99hQ!dghPZZDBRI2KJaihPYptIG0VmQ5aiKjNYTNBSebvQu-Y-EdHt3Ekx89jPeol1aJPvhxYCp0$> This
> might simplify things further (at least for our projects it is simpler
> than assembling all the command line args in maven-exec-plugin). I
> thought I'd mention it in this context.
Thanks - this is _exactly_ the kind of things that I hoped would become
simpler to do by moving jextract out of the JDK repo. I'm glad to see
that this seems to be the case.
Maurizio
>
>> On 23. Mar 2022, at 22:50, Maurizio Cimadamore
>> <maurizio.cimadamore at oracle.com> wrote:
>>
>> Hi,
>> as anticipated in [1], jextract has finally landed in its own
>> standalone repository:
>>
>> https://github.com/openjdk/jextract
>> <https://urldefense.com/v3/__https://github.com/openjdk/jextract__;!!ACWV5N9M2RV99hQ!dghPZZDBRI2KJaihPYptIG0VmQ5aiKjNYTNBSebvQu-Y-EdHt3Ekx89jPeol1aJPT_hMZvU$>
>>
>> The version of jextract included in this repo is suitable to work
>> with Java 18 (just hot off the press!), and we plan to create new
>> branches as new Java versions will come out (to make it easy to find
>> the version you want to work with).
>>
>> The jextract sources can be built using gradle; as usual, the build
>> depends on libclang, so a LLVM binary snapshot is required [2].
>> Testing is also possible (requires jtreg).
>>
>> Jextract binary snapshots will be made available at a later date.
>> Moving forward, we will gradually phase out the jextract branch
>> (foreign-jextract) of the panama/foreign repository, and work on the
>> standalone repository instead.
>>
>> If you are interested, please give it a try, and let us know what you
>> think.
>>
>> Cheers
>> Maurizio
>>
>> [1] -
>> https://mail.openjdk.java.net/pipermail/panama-dev/2021-December/015895.html
>> [2] - https://releases.llvm.org/download.html
>> <https://urldefense.com/v3/__https://releases.llvm.org/download.html__;!!ACWV5N9M2RV99hQ!dghPZZDBRI2KJaihPYptIG0VmQ5aiKjNYTNBSebvQu-Y-EdHt3Ekx89jPeol1aJPhFS6zHQ$>
>>
>>
>
More information about the panama-dev
mailing list