Skip to content

Commit

Permalink
Add driver for MPI, Release serial Kokkos threading (trilinos#2463)
Browse files Browse the repository at this point in the history
This could be used, for example, for the Intel 17 build in trilinos#2463.
  • Loading branch information
bartlettroscoe committed Apr 23, 2018
1 parent 409206b commit 579a77b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cmake/std/MpiReleaseSharedPtSerial.cmake
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")

0 comments on commit 579a77b

Please sign in to comment.