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
Avoid using TriBITS in Kokkos #6164
base: develop
Are you sure you want to change the base?
Avoid using TriBITS in Kokkos #6164
Conversation
760812e
to
7407e94
Compare
2308c4d
to
916d990
Compare
@bartlettroscoe I revived this after you asked for feedback wrt TriBITSPub/TriBITS#591 (comment).
That leaves us basically with additional code for
Also, Apart from that, everything seems to be working here as described in the files you linked. |
@masterleinad, one thing you might consider is to keep using the TriBITS function But in the case of building Kokkos under Trilinos, you don't need to include the module Using Just something to think about. |
Sure, we should discuss with the rest of the |
b35ce31
to
c8b5979
Compare
This corresponds to trilinos/Trilinos#11779.
Currently, we are essentially using three build systems in
Kokkos
:CMake
Trilinos
usingTriBITS
We discussed that we want to try to lighten that burden by removing a full
TriBITS
option by only providing necessary additions to the rawCMake
build system. This pull request explores doing this.The approach taken is to simply delete all paths that mention
KOKKOS_HAS_TRILINOS
orTRIBITS
directly which seems to work pretty well. The places where we still need to do something special (apart from adding additional aliases or making sure we can link against a Kokkos build directory) are:TRIBITS_PACKAGE(Kokkos)
at the top ofCMakeLists.txt
Trilinos
options in the newkokkos_configure_trilinos.cmake
tribits_package_postprocess
inkokkos_configure_trilinos.cmake
Trilinos
TPL'sKokkos
provides/uses.Note that we also remove all the special casing for running
Kokkos
tests inTrilinos
.