Skip to content
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

Fix configuring with Threads support when rerunning CMake #5486

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

masterleinad
Copy link
Contributor

This has been bugging me for a while. If Kokkos has been configured with the Threads backend, any attempt to reconfigure would fail since Threads::Threads would not be a target anymore.
This pull request fixes this bug, by pulling the relevant logic from FindTPLPthread.cmake into FindTPLTHREADS.cmake" and, thus, making the two independent. The former one is only used for Trilinos builds anyway (and the latter one is not used for Trilinos builds).

@masterleinad masterleinad marked this pull request as ready for review September 22, 2022 19:50
@crtrott crtrott merged commit 051d049 into kokkos:develop Sep 23, 2022
@masterleinad masterleinad mentioned this pull request Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants