RFR: 8329704: Implement framework for proper handling of JDK_LIBS [v3]
Magnus Ihse Bursie
ihse at openjdk.org
Wed Apr 10 13:40:37 UTC 2024
> This is the pinnacle of the recent stream of refactorings in the build system. This patch introduces a more abstract concept of "JDK_LIBS", where only the library name (e.g. "java" or "java.desktop:jawt") is specified, and the build system turns this into suitable linker flags: `-ljawt -L<correct path>` or `jawt.lib -libpath:<correct path>`, depending on linker. It will also automatically create proper dependencies.
Magnus Ihse Bursie has updated the pull request incrementally with two additional commits since the last revision:
- Set JVM_VARIANT_PATH before use
- Explain ResolveLibPath result
Co-authored-by: Erik Joelsson <37597443+erikj79 at users.noreply.github.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18649/files
- new: https://git.openjdk.org/jdk/pull/18649/files/6e737795..320f12d2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18649&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18649&range=01-02
Stats: 13 lines in 1 file changed: 6 ins; 6 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18649.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18649/head:pull/18649
PR: https://git.openjdk.org/jdk/pull/18649
More information about the build-dev
mailing list