From: Wolfgang Bangerth Date: Sat, 1 Jun 2013 01:10:38 +0000 (+0000) Subject: Add DEAL_II_WITH_64BIT_INDICES to the list of variables that are cached. X-Git-Tag: v8.0.0~316^2~9 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b107d053016299a6cb00f4f31f15a239cdecbb29;p=dealii.git Add DEAL_II_WITH_64BIT_INDICES to the list of variables that are cached. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29715 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/setup_cached_variables.cmake b/deal.II/cmake/setup_cached_variables.cmake index 2216232956..f368c3425d 100644 --- a/deal.II/cmake/setup_cached_variables.cmake +++ b/deal.II/cmake/setup_cached_variables.cmake @@ -42,6 +42,7 @@ # DEAL_II_SHARED_LINKER_FLAGS_DEBUG # DEAL_II_CXX_FLAGS_RELEASE # DEAL_II_SHARED_LINKER_FLAGS_RELEASE +# DEAL_II_WITH_64BIT_INDICES # # *) May also be set via environment variable (CFLAGS, CXXFLAGS, LDFLAGS) # (nonempty cached variable has precedence will not be overwritten by @@ -236,6 +237,15 @@ FOREACH(_flag ${DEAL_II_USED_FLAGS}) MARK_AS_ADVANCED(${_flag}) ENDFOREACH() +SET(DEAL_II_WITH_64BIT_INDICES "${DEAL_II_WITH_64BIT_INDICES}" CACHE BOOL + "If set to ON, then use 64-bit data types to represent global degree of freedom indices. The default is to OFF. You only want to set this to ON if you will solve problems with more than 2^31 (approximately 2 billion) unknowns. If set to ON, you also need to ensure that both Trilinos and/or PETSc support 64-bit indices." + ) + +SET(DEAL_II_WITH_64BIT_INDICES_SAVED "${DEAL_II_WITH_64BIT_INDICES}") +MARK_AS_ADVANCED(DEAL_II_WITH_64BIT_INDICES) + + + # # Finally, read in CFLAGS, CXXFLAGS and LDFLAGS from environment and # prepend them to the saved variables: @@ -250,7 +260,7 @@ UNSET(ENV{LDFLAGS}) ########################################################################### # # -# Miscellanious setup: # +# Miscellaneous setup: # # # ###########################################################################