Integrated: 8325626: Allow selection of non-matching configurations using CONF=!string

Magnus Ihse Bursie ihse at openjdk.org
Tue Feb 13 09:54:05 UTC 2024


On Mon, 12 Feb 2024 11:44:46 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> A common scenario is for a developer to have two configurations, a product and a debug version, e.g. `linux-x64`and `linux-x64-debug`. To select the latter using `CONF` is just a matter of using `CONF=debug`, but to select the former, the complete name needs to be supplied: `CONF=linux-x64`.
> 
> Instead, this patch introduces the use of `!` as a negation character, so `CONF=!debug` would select all configurations that do not match `debug`. 
> 
> I also took the time to clarify and correct the documentation on how to use `CONF`.

This pull request has now been integrated.

Changeset: ec20b0aa
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ec20b0aa2ed711daeea5d0a09102093b3a2a49ec
Stats:     51 lines in 4 files changed: 30 ins; 1 del; 20 mod

8325626: Allow selection of non-matching configurations using CONF=!string

Reviewed-by: erikj, jwaters

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

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


More information about the build-dev mailing list