RFR: updating libclang binding for jetract changes and llvm 13.0.0
Duncan Gittins
duncan.gittins at gmail.com
Fri Jul 8 15:03:02 UTC 2022
Given this manual RuntimeHelper.java fix is applied to generated code each
time and so might recur, is there a reason that the fix isn't applied to
non-generated code - say LibClang.java?
static {
// Manual change to handle platform specific library name difference
String libName = System.getProperty("os.name").startsWith("Windows")?
"libclang" : "clang";
System.loadLibrary(libName);
}
Kind regards
Duncan
On Wed, 6 Jul 2022 at 07:30, Jorn Vernee <jvernee at openjdk.org> wrote:
> On Tue, 5 Jul 2022 12:22:21 GMT, Athijegannathan Sundararajan <
> sundar at openjdk.org> wrote:
>
> > regenerating LibClang binding for jextract changes and llvm 13.0.0
>
> src/main/java/org/openjdk/jextract/clang/libclang/RuntimeHelper.java line
> 65:
>
> > 63:
> > 64: static {
> > 65: System.loadLibrary("clang");
>
> This needs the fix for Windows
>
> -------------
>
> PR: https://git.openjdk.org/jextract/pull/52
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20220708/1875a13d/attachment.htm>
More information about the jextract-dev
mailing list