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
Enable plain assert() in non-release builds in CI
#12641
Comments
|
PR #12644 enables Implementation differs from setting It fails locally, as expected, but succeeds on CI, which runs I do support the idea to enable the standard C++ |
|
Please check the performance. For boost multiprecision, it makes a huge difference if it is built in debug or release mode. I would not be surprised if they also use some assertions. |
|
Does not seem to affect runtime performance in a significant way:
The non-release jobs ran slightly slower but still within the normal variability we see in CI so it might not even be actual slowdown. Even if it is, it seems to be small enough to be acceptable. |
I think it runs It looks like we should add |
|
We should check some more computation-intensive examples. Most of our tests do not need a lot of computation on bigints, but for example the linear solver will. |


Apparently we have the
assertmacro disabled in CI, even in non-release builds - at least on Windows (see #12634 (comment)). While this macro is generally discouraged in our project in favor of thesolAssert()family of macros, we still do have them in some places and I think that they should not be disabled. I wouldn't disable them even if we did not have any - some of the libraries we depend on might also be usingassertfor example.We do not define
NDEBUGso I'm not really sure why they're disabled. Is that maybe because we default toRelWithDebInfomode rather thanDebug? The task here is to investigate, enable the macro and verify that it does actually work in non-release builds on all platforms.The text was updated successfully, but these errors were encountered: