RFR: 8297348: make CONF=xxx should match if xxx is an exact match

Erik Joelsson erikj at openjdk.org
Mon Nov 21 17:26:40 UTC 2022


On Mon, 21 Nov 2022 15:18:33 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> A typical use case for multiple configurations is that you have a release configuration (say `linux-x64`) and a debug configuration (say `linux-x64-debug`). You can now easily select the debug configuration with `CONF=debug`, or both configurations with `CONF=`, but there is no way to select just the release configuration. Instead, workarounds using `SPEC` or `CONF_NAME` (which always does an exact match) is needed.
> 
> Instead, we should modify the behavior of `CONF` slightly, so if it gets an exact match, it should behave like `CONF_NAME` and select just that configurations.

Marked as reviewed by erikj (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/11269



More information about the build-dev mailing list