From: Timo Heister Date: Thu, 11 Apr 2019 21:44:11 +0000 (-0600) Subject: fix bash multiline X-Git-Tag: v9.1.0-rc1~2^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F115%2Fhead;p=candi.git fix bash multiline --- diff --git a/deal.II-toolchain/packages/dealii.package b/deal.II-toolchain/packages/dealii.package index c69b614..572dbf8 100644 --- a/deal.II-toolchain/packages/dealii.package +++ b/deal.II-toolchain/packages/dealii.package @@ -30,8 +30,7 @@ CONFOPTS=" \ if [ "${NATIVE_OPTIMIZATIONS}" = "true" ]; then CONFOPTS="${CONFOPTS} \ - -D CMAKE_CXX_FLAGS='-march=native' - " + -D CMAKE_CXX_FLAGS='-march=native'" fi # add the user-specified flags at the end (so things can be overriden): diff --git a/deal.II-toolchain/packages/petsc.package b/deal.II-toolchain/packages/petsc.package index 0821a75..ffa1c5f 100644 --- a/deal.II-toolchain/packages/petsc.package +++ b/deal.II-toolchain/packages/petsc.package @@ -38,11 +38,10 @@ CONFOPTS=" " if [ "${NATIVE_OPTIMIZATIONS}" = "true" ]; then - CONFOPTS="${CONFOPTS} - COPTFLAGS='-O3 -march=native -mtune=native' - CXXOPTFLAGS='-O3 -march=native -mtune=native' - FOPTFLAGS='-O3 -march=native -mtune=native' - " + CONFOPTS="${CONFOPTS} \ + COPTFLAGS='-O3 -march=native -mtune=native' \ + CXXOPTFLAGS='-O3 -march=native -mtune=native' \ + FOPTFLAGS='-O3 -march=native -mtune=native'" fi