-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce KOKKOSKERNELS_ALL_COMPONENTS_ENABLED variable
Previously, we could have the following issue: 1. User sets KokkosKernernels_ENABLE_ALL_COMPONENTS to on 2. This enables each component 3. Invoke cmake again 4. Since components are enabled, KokkosKernels_ENABLE_ALL_COMPONENTS would be set to off 5. Things that rely on KokkosKernels_ENABLE_ALL_COMPONENTS are no longer build (e.g. tests) Now, KOKKOSKERELS_ALL_COMPONENTS_ENABLED is used to track whether all components are enabled, regardless of how we got there. It's marked as advanced to hide it from GUIs, and leaves the user-facing KokkosKernels_ENABLE_ALL_COMPONENTS intact.
- Loading branch information
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters