TriKota: Disable Dakota's ROL interface
Created by: briadam
@trilinos/trikota
Description
Initial pass at addressing trilinos/Trilinos#4270: disable Dakota's ROL interface when building under trilinos/packages/TriKota.
Rationale: Would prefer to have Dakota use ROL as provided by Trilinos, but creates a circular package dependence due to ROL's optional use of TriKota. As ROL may remove dependence on Dakota sparse grid at some point, better to workaround this for now.
Also cleanup TriKota's interface to Dakota's CMake based on changes in the last few Dakota versions.
Motivation and Context
Addresses #4270
How Has This Been Tested?
Tested through make and ctest phases with this config (note requires upstream changes to ROL submitted separately).
cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=../install \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DTrilinos_ENABLE_TESTS:BOOL=ON \
-DTrilinos_ENABLE_Teuchos:BOOL=ON \
-DTrilinos_ENABLE_ROL:BOOL=ON \
-DTrilinos_ENABLE_TriKota:BOOL=ON \
-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-DTrilinos_ENABLE_COMPLEX_DOUBLE:BOOL=ON \
../source
Checklist
- [y] My commit messages mention the appropriate GitHub issue numbers.
- [?] My code follows the code style of the affected package(s).
- [?] My change requires a change to the documentation.
- [?] I have updated the documentation accordingly.
- [y] I have read the code contribution guidelines for this project.
- [n ] I have added tests to cover my changes.
- [y] All new and existing tests passed.
- [y] No new compiler warnings were introduced.
- [n] These changes break backwards compatibility.
Additional Information
I don't appear to have permission to assign reviewers, assignees, etc., but this may be of interest to @agsalin, @dpkouri, @dridzal, @ikalash