-
Notifications
You must be signed in to change notification settings - Fork 284
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
Make MesonNinja
respect the toolchainopts with buildtype as well as --debug
and --optimization
flags
#3454
base: 5.0.x
Are you sure you want to change the base?
Conversation
9a9534a
to
f54380c
Compare
MesonNinja
respect the toolchainopts with buildtype as well as --debug
and --optimization
flags
Fix typo Co-authored-by: Kenneth Hoste <[email protected]>
ok, so apparently meson doesn't want you to do this. I find this strange, as just using the optimization + debug options wouldn't cover things like -DNDEBUG defines. Maybe noone using meson uses such defines in their C/C++ codes? :/ |
mesonbuild/meson-python#325 No this seems to indicate otherwise. We certainly always want the NDEBUG set for our builds... edit: see also https://mesonbuild.com/Release-notes-for-0-45-0.html#b_ndebug-ifrelease |
Alright, so to summarize
All in all this brings meson builds in line with the rest of the stuff we build, and I don't think any of it is controversial. |
Test report by @Micket Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 4 (4 easyconfigs in total) |
Test report by @Micket Overview of tested easyconfigs (in order)
Build succeeded for 3 out of 4 (4 easyconfigs in total) |
So, Wayland apparently needs to be built with asserts, else it fails the test suite. Which means, one can't actually test a true install... Not sure how much it impacts performance, or if we care about tools like wayland for that sort of performance in HPC settings, so I'm making n_debug into an option. |
Fixes #3280
Alternative to #3453
In this version, i double up on both buildtype as well as --optimizationand --debug flags to respect the toolchainopts. I think this will be the better approach, but i haven't tested anything yet.