You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently meson produces very nice summary when user has defined any options on the command line. Although it does not list any options that have been set via a native file.
To Reproduce
Grab any meson project and add the following native file:
$ cat native.ini
[project options]
strip = true
Then setup as normal and observe the output:
$ meson setup build/
...
User defined options
Native files : native.ini // only the file and not the options within
Expected behavior
Print the option from the native file, unless overridden. Eg:
$ meson setup -D strip=false build/
...
User defined options
Native files : native.ini
// should probably mention that strip is set, but overridden?
strip : false
The text was updated successfully, but these errors were encountered:
evelikov
changed the title
Provide summary in "User defined options" for options set in the native file set on the command line. For example meson setup --native-file build-dev.ini -D strip=false build/ will produce: User defined options Native files : build-dev.ini strip : false
Provide summary in "User defined options" for options set in the native file
Nov 4, 2024
evelikov
changed the title
Provide summary in "User defined options" for options set in the native file
RFE Provide "User defined options" summary for options set in the native file
Nov 4, 2024
This may be useful for anyone trying a non-debug build and serve as
baseline for distros. Even for developers, when benchmarking kmod, it's
better to run a release-oriented kmod rather than the slow one due to
all debug/sanitizers.
By keeping the -D in the command line rather than in a ini file,
we also guarantee meson shows it in the summary, regardless of
mesonbuild/meson#13865.
Closes: #220
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This may be useful for anyone trying a non-debug build and serve as
baseline for distros. Even for developers, when benchmarking kmod, it's
better to run a release-oriented kmod rather than the slow one due to
all debug/sanitizers.
By keeping the -D in the command line rather than in a ini file,
we also guarantee meson shows it in the summary, regardless of
mesonbuild/meson#13865.
Closes: #220
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: #221
Describe the bug
Currently meson produces very nice summary when user has defined any options on the command line. Although it does not list any options that have been set via a native file.
To Reproduce
Grab any meson project and add the following native file:
Then setup as normal and observe the output:
Expected behavior
Print the option from the native file, unless overridden. Eg:
The text was updated successfully, but these errors were encountered: