Commit 8222efee authored by Ansgar Burchardt's avatar Ansgar Burchardt

[!46] dune.opts: disable auto-detection of CPU features by default (for Vc)

Merge branch 'disable-cpu-auto-detection-for-vc' into 'master'

ref:docker/ci Reference:
[https://lists.dune-project.org/pipermail/dune-devel/2019-June/002456.html]

See merge request [docker/ci!46]

  [https://lists.dune-project.org/pipermail/dune-devel/2019-June/002456.html]:
    https://lists.dune-project.org/pipermail/dune-devel/2019-June/002456.html
  [docker/ci!46]: gitlab.dune-project.org/docker/ci/merge_requests/46
parents 5e498d21 123f8542
......@@ -46,6 +46,9 @@ CMAKE_FLAGS+=" -DCMAKE_CXX_FLAGS_RELEASE='${REL_CXXFLAGS}'"
CMAKE_FLAGS+=" ${DUNECI_PARALLEL:+-DDUNE_MAX_TEST_CORES=${DUNECI_PARALLEL}}"
CMAKE_FLAGS+=" -DCMAKE_INSTALL_PREFIX=/duneci/install"
# disable auto-detection of CPU features by default (for Vc)
CMAKE_FLAGS+=" -DTARGET_ARCHITECTURE=generic"
# Fortran flags are off for now, they just trigger CMake warnings
# CMAKE_FLAGS+=" -DCMAKE_FORTRAN_COMPILER=$FC"
......
......@@ -11,3 +11,7 @@ REL_CXXFLAGS="-O3 -g -UNDEBUG"
REL_FFLAGS="-O3 -g"
TOOLCHAIN_CMAKE_FLAGS="-DCXX_MAX_STANDARD=17"
# see base-common/dune.opts: disable CPU detection for Vc library;
# sadly clang has problems with the setting in dune.opts...
TOOLCHAIN_CMAKE_FLAGS+=" -DTARGET_ARCHITECTURE=none"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment