add custom easyconfig parameter with_cxx_backtrace to GCC easyblock to enable the build of the libstdcxx-backtrace library#3538
Conversation
|
@boegelbot please test @ jsc-zen3 |
| # enable builind of libstdc++_libbacktrace | ||
| if self.cfg['with_cxx_backtrace']: | ||
| self.configopts += " --enable-libstdcxx-backtrace" | ||
|
|
There was a problem hiding this comment.
With the current approach, having with_cxx_backtrace=False by default, we should probably also disable support via a flag for GCC versions supporting backtrace.
We could go the route and define with_cxx_backtrace as None by default, passing no flag and just use what GCC has by default. Users could then pass True to explicitly enable support, and False to explicitly disable support.
There was a problem hiding this comment.
+1 on this
@maxim-masterov Are you up for updating the PR accordingly?
|
@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3766977502 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 4 (total: 4 hours 23 mins 41 secs) (4 easyconfigs in total) |
with_cxx_backtrace to GCC easyblock to enable the build of the libstdcxx-backtrace library
Change 'with_cxx_backtrace' default value to None and update condition for enabling libstdc++_libbacktrace.
Add an option to build a static library for the stack trace support in C++23.