Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: add recommended release options #221

Closed
wants to merge 2 commits into from
Closed

Conversation

lucasdemarchi
Copy link
Contributor

Related to #220

README.md Outdated Show resolved Hide resolved
build-release.ini Outdated Show resolved Hide resolved
build-release.ini Outdated Show resolved Hide resolved
@dileks
Copy link
Contributor

dileks commented Nov 5, 2024

Dunno what the default is for strip options - might be explicitly set to true.

What about an ini directory where both ini files are placed?

For meson it's configure & build & install in the same snippet.
Do the same for autotools.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Copy link
Collaborator

@evelikov evelikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the compression/openssl defaulting to "no", the "automatically searches" comment is quite misleading IMHO.

So yes please.

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>
@lucasdemarchi
Copy link
Contributor Author

What about an ini directory where both ini files are placed?

we decided to keep just one ini file. Defaults are a "sane" set and --buildtype is recommended to be kept in the command line, which also means it will show up in the summary as you requested.

@lucasdemarchi
Copy link
Contributor Author

With the compression/openssl defaulting to "no", the "automatically searches" comment is quite misleading IMHO.

sorry, what comment are we talking about?

@evelikov
Copy link
Collaborator

evelikov commented Nov 7, 2024

The first commit removes the "... automatically searches for all required components..." which tripped me a few times and again just now. Aka misread "required" as "optional", since the former is a given for any (maintained) project.

Either way, the updated PR looks good 👍

@lucasdemarchi
Copy link
Contributor Author

Ah, ok. Thanks.

lucasdemarchi added a commit that referenced this pull request Nov 7, 2024
For meson it's configure & build & install in the same snippet.
Do the same for autotools.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: #221
lucasdemarchi added a commit that referenced this pull request Nov 7, 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>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: #221
@lucasdemarchi
Copy link
Contributor Author

Applied, thanks for reviewing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants