-DDEAL_II_WITH_CUDA=ON
</pre>
- Depending on you system, this may be enough to get CUDA to work. If you
- are using CUDA 9 or 10, you will need to turn off support for C++17:
- <pre>
-
- -DDEAL_II_WITH_CXX17=OFF
- </pre>
+ Depending on you system, this may be enough to get CUDA to work. If
+ you are using CUDA 9 or CUDA 10, you will have to make sure that
+ C++17 is disabled.
By default, we try to detect the compute capability of your device
but you can easily set your own CUDA flags:
<pre>
by <code>cmake</code> variables that may be set to either <code>ON</code>
or <code>OFF</code>.
- By default, <acronym>deal.II</acronym>'s <code>CMake</code> build scripts
- will attempt to find the newest <code>C++</code> version available by
- checking which language version flags work with the detected compiler. For
- example: if <code>CMake</code> detects <code>GCC 5.1</code> or <code>Clang
- 3.6</code>, <acronym>deal.II</acronym> will be compiled
- in <code>C++14</code> mode unless <code>C++14</code> support is explicitly
- disabled. Another example: if <code>DEAL_II_WITH_CXX14=ON</code> is passed
- to <code>CMake</code>, then <acronym>deal.II</acronym> will check if the
- compiler supports enough of the <code>C++14</code> standard to enable
- the <code>C++14</code>-specific parts of the library. The configuration
- process will fail if a feature flag is passed in that cannot be supported.
-
The remaining flags are set to <code>ON</code> if an external package is
found or to <code>OFF</code> otherwise. By explicitly setting it to off
either on the command line or using <code>ccmake</code>, you can
DEAL_II_WITH_BOOST
DEAL_II_WITH_COMPLEX_VALUES
DEAL_II_WITH_CUDA
-DEAL_II_WITH_CXX14
-DEAL_II_WITH_CXX17
DEAL_II_WITH_GINKGO
DEAL_II_WITH_GMSH
DEAL_II_WITH_GSL
# #
###########################################################################
-#
-# C++14 support:
-#
-# SET(DEAL_II_WITH_CXX14 ON CACHE BOOL
-# "deal.II using C++14 language standard"
-# )
-#
-# A custom C++14 flag can be set by setting
-#
-# SET(DEAL_II_CXX_VERSION_FLAG "-std=c++1y" CACHE STRING "")
-#
-
#
# Platform introspection: