Fwd: jextract standalone repository
Duncan Gittins
duncan.gittins at gmail.com
Thu Mar 24 16:25:04 UTC 2022
Sorry I forgot to mention the contents of headers\Ole32.h:
#include <objbase.h>
-------- Forwarded Message --------
Subject: Re: jextract standalone repository
Date: Thu, 24 Mar 2022 16:20:19 +0000
From: Duncan Gittins <duncan.gittins at gmail.com>
To: panama-dev at openjdk.java.net
I've download OpenJDK18 for Windows then built jextract from the new
repos location. The new jextract does not appear to handle
"@commandfile" style command line arguments so I can no longer supply
two config files - one for the build flags and another for the
"--include" flags necessary to cut Windows jars back to a manageable size.
> build\jextract\jextract.exe @headers\Ole32.conf @headers\Ole32.dat
or
> build\jextract\jextract.exe @headers\Ole32.conf
=>
OPTION ERROR: Expected 1 header file, not 2
Whereas if I type in the contents of headers\Ole32.conf explicitly it
works but is unusable as I get 7000 classes:
> build\jextract\jextract.exe -source -lole32 -t duncan.win.ole -d
source\duncan.win\java headers\Ole32.h
Kind regards
Duncan
On 23/03/2022 21:50, Maurizio Cimadamore wrote:
> Hi,
> as anticipated in [1], jextract has finally landed in its own
> standalone repository:
>
> https://github.com/openjdk/jextract
>
> 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
>
>
More information about the panama-dev
mailing list