forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add driver for MPI, Release serial Kokkos threading (trilinos#2463)
This could be used, for example, for the Intel 17 build in trilinos#2463.
- Loading branch information
1 parent
409206b
commit 579a77b
Showing
1 changed file
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file can be read in using either: | ||
# | ||
# -C <abs-path>/<file-name>.cmake | ||
# | ||
# or: | ||
# | ||
# -DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/<file-name>.cmake | ||
# | ||
|
||
# Handle this being passed in with -C option instead of | ||
# <Project>_CONFIGURE_OPTIONS_FILE. | ||
IF ("${PROJECT_NAME}" STREQUAL "") | ||
SET(PROJECT_NAME Trilinos) | ||
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/../tribits/core/utils/AssertDefined.cmake") | ||
ENDIF() | ||
|
||
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/SetUtils.cmake") | ||
|
||
TRIL_SET_BOOL_CACHE_VAR(TPL_ENABLE_MPI ON) | ||
TRIL_SET_BOOL_CACHE_VAR(CMAKE_BUILD_TYPE RELEASE) | ||
TRIL_SET_BOOL_CACHE_VAR(Trilinos_ENABLE_DEBUG OFF) | ||
TRIL_SET_BOOL_CACHE_VAR(BUILD_SHARED_LIBS ON) | ||
TRIL_SET_BOOL_CACHE_VAR(Trilinos_ENABLE_EXPLICIT_INSTANTIATION ON) | ||
TRIL_SET_BOOL_CACHE_VAR(Trilinos_ENABLE_SECONDARY_TESTED_CODE OFF) | ||
|
||
# NOTE: The order of these includes matters! | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/BasicCiTestingSettings.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/sems/SEMSDevEnv.cmake") |