RFR: Add path independence

Mike Duigou mduigou at openjdk.org
Mon Sep 5 19:30:47 UTC 2022


On Thu, 1 Sep 2022 03:24:23 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> I guess we need similar change for many other samples. One flip side of the approach in this PR that we lose the specific version to use. C APIs need not be backward compatible (many are not!). Sample may work on a specific version of C library and not on the latest (or older) brew installed version.

As long as the library remains compatible the sample should continue to work. It seemed wrong to install a non-specific version using homebrew (or apt or yum) and then expect that specific version had been installed.

I agree with the suggestion that the readme should document which version of the library was used.

-------------

PR: https://git.openjdk.org/jextract/pull/68


More information about the jextract-dev mailing list