dealii/dealii — pull request #126 by tamiko (2014-09-02 14:23:01+00:00)
Title: Refactor openmp simd setup

This pull request fixes several issues wrt -fopenmp-simd:

* Disable -openmp-simd for icc for the moment, this currently
doesn't work.

* 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.