-
Notifications
You must be signed in to change notification settings - Fork 203
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
add --keep-debug-symbols
configuration option to set default value of 'debug
' toolchain option, and enable it by default so -g
is included in $CXXFLAGS
& co
#4688
Conversation
…iler object. This needs to be deferred due to how easybuild will need to be able to import the class before build_option is ready. The command line option has been changed to a flag, as optparse can't deal with bool types.
OK the optparser thing won't permit setting bools in any way. Listing options they get converted to strings, which is ugly to work with, and optparse doesn't support Also, due to how classes are sneakily initialized by EB, the static class variables aren't always defined, so, they might be |
-g
is included in $CXXFLAGS
& co
-g
is included in $CXXFLAGS
& co--keep-debug-symbols
configuration option to set default value of 'debug
' toolchain option, and enable it by default so -g
is included in $CXXFLAGS
& co
Also defaults to "true" as was discussed for 5.0.x.
Those concerned with disk space can consider switching this back to false.
Disclaimer: It's getting late and I'm really not sure if i can get away with inserting the default value of "debug" in the compiler option map like that. Not sure if build_option is guaranteed to be initialized when that static dict is defined.