-
Notifications
You must be signed in to change notification settings - Fork 578
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
Question: ATDM build type "release-debug" doesn't correspond to CMAKE_BUILD_TYPE "RELWITHDEBINFO" #6022
Comments
Here is the result of the command
|
Btw, using the cmake option |
@jhux2, I think this may be a feature request and this is a subtle issue. As explained at: using I guess we could change the ATDM Trilinos configuration such that adding |
@bartlettroscoe Thanks for the explanation. I have work around, so this isn't blocking my work. I will update the title to make it easier to search on. |
Closing this issue now that #6023 is created. |
@bartlettroscoe @trilinos/framework
I would like to set the build type to be optimized with debug symbols with the script
Trilinos/cmake/std/atdm/load-env.sh
. Here's what I tried:I would expect that Trilinos configure would report
CMAKE_BUILD_TYPE
asRELWITHDEBINFO
, but it reportsRELEASE
instead.The following works as expected:
source ${TRILINOS_DIR}/cmake/std/atdm/load-env.sh sems-rhel6-clang-release-serial
Trilinos configure reports
CMAKE_BUILD_TYPE
asRELEASE
source ${TRILINOS_DIR}/cmake/std/atdm/load-env.sh sems-rhel6-clang-debug-serial
Trilinos configure reports
CMAKE_BUILD_TYPE
asDEBUG
.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: