]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Bugfix: Guard DEAL_II_HAVE_OPENMP_SIMD test 7681/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 3 Feb 2019 18:06:59 +0000 (12:06 -0600)
committerMatthias Maier <tamiko@43-1.org>
Sun, 3 Feb 2019 18:14:43 +0000 (12:14 -0600)
commit0f9ec68aaf5b9b3d750b90b5817a3cd689bba555
tree3f3f7c1ffd3ac43b2e6d37336a996324c5c41a3e
parentda74ec2528cd0d0f1ea4f98a0ab447585c8e35fd
CMake: Bugfix: Guard DEAL_II_HAVE_OPENMP_SIMD test

We also have to guard the DEAL_II_HAVE_OPENMP_SIMD test with
DEAL_II_ALLOW_PLATFORM_INTROSPECTION. If the latter is set to false our
cmake configuration does not attempt to determine any specifics of the
unerlying CPU or architecture (and instead relies on the user specifying
everything by hand). This is necessary for scenarios where deal.II gets
compiled on a different machine than the one it will be run on
eventually.

In reference to #7663.
cmake/checks/check_01_cpu_features.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.