]> https://gitweb.dealii.org/ - dealii.git/commit
Refactor openmp-simd setup 126/head
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 2 Sep 2014 13:41:31 +0000 (15:41 +0200)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 2 Sep 2014 16:26:58 +0000 (18:26 +0200)
commit2996abd8a9f869dfaa9b1eb44568a3867e220371
tree7cb9494149f44c58c3d3f2a4f7b6ff536e6ad9cb
parentf34899947c657c13e8026b6ea7df51e1201f36df
Refactor openmp-simd setup

 * The check for support of -(f)openmp-simd is now done in
   checks/check_01_cpu_features.cmake and guarded by
   DEAL_II_ALLOW_PLATFORM_INTROSPECTION

   The guard is important in order to allow for platform independent
   compilations (as required by Linux distributions)

   Furthermore, this allows for manual override via
   DEAL_II_HAVE_OPENMP_SIMD.

 * The pragma statement is refactored into a macro defined in
   config.h.in. With this, no -Wno-unknown-pragmas workarounds are
   necessary and picky compilers that choke on "#pragma" are happy.
cmake/checks/check_01_cpu_features.cmake
cmake/setup_compiler_flags_gnu.cmake
cmake/setup_compiler_flags_intel.cmake
include/deal.II/base/config.h.in
include/deal.II/lac/vector.templates.h

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.