ATDM Config: Add support for 'static' and 'shared' keywords to set BUILD_SHARED_LIBS
Created by: bartlettroscoe
CC: @micahahoward, @fryeguy52, @sebrowne
Next Action Status
PR #4021 merged to 'develop' on 12/12/2018 that included commits 567c270a and 492bf01b implements this.
Description
The SPARC builds of Trilinos use both static and shared libraries in different cases. For example, SPARC has to use shared libs for some CUDA builds with Trilinos. EMPIRE never does shared lib builds of Trilinos and therefore there was never a need for a 'shared' vs. 'static' build name keyword.
This story is to add support for build name keywords 'static' and 'shared' (default 'static') that will be used to set the CMake var BUILD_SHARED_LIBS
.
This needs to be implemented and added to the atdm/load-env.sh
script system before we move to a system where SPARC needs to use 'shared' libs.