RFR: Update Readme with macOs specifics
Jorn Vernee
jvernee at openjdk.java.net
Mon Mar 28 17:26:07 UTC 2022
On Mon, 28 Mar 2022 16:32:42 GMT, Brice Dutheil <duke at openjdk.java.net> wrote:
> The macOs libclang location as well as build output differ enough to warrant specific information. In particular the use of the XCode based path to find the libclang is not an easy find. The output also makes use of jpackage with `app-image` type, but the macOs _.app_ layout different enough on macOs.
README.md line 19:
> 17: * `/Library/Developer/CommandLineTools/usr/` if using Command Line Tools
> 18: * `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/` if using XCode
> 19: * `$(brew --prefix llvm)` if using the [LLVM install from Homebrew](https://formulae.brew.sh/formula/llvm#default)
FWIW, different package managers probably have different packages and folder structures.
I think the recommended way to get LLVM is still through the release page here: https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.0 after which the tar can be extracted to any location, and `-Pllvm_home` pointed to that.
-------------
PR: https://git.openjdk.java.net/jextract/pull/10
More information about the jextract-dev
mailing list