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

Magnus Ihse Bursie ihse at openjdk.org
Mon Nov 21 18:37:38 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.

This pull request has now been integrated.

Changeset: cd6a203a
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cd6a203a3e9e4e2f96f6c8649b10af92f8d9c27b
Stats:     9 lines in 1 file changed: 9 ins; 0 del; 0 mod

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

Reviewed-by: erikj

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

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



More information about the build-dev mailing list