RFR: 7903156: remove jopt-simple dependency from jextract [v5]
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Wed Apr 13 10:12:36 UTC 2022
On Wed, 13 Apr 2022 10:07:07 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> The problematic option to parse is -C, and I wonder if perhaps we could simplify by delegating to an environment variable.
Note also that clang has a concept of "compilecommand" file, a JSON specification of things to be compiled:
https://clang.llvm.org/docs/JSONCompilationDatabase.html
maybe pointing jextract at one of those could be something to explore as well, for the most complex use cases which require special clang setup.
-------------
PR: https://git.openjdk.java.net/jextract/pull/19
More information about the jextract-dev
mailing list