From faaba29eb7a7c72b1eddd61a60107d8f457736e9 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Fri, 26 Jul 2019 12:39:58 +0200 Subject: [PATCH] Fix rm opam_installer.sh (#53) * Changed native into SSE4.2 in gfortran.cfg * Fixed rm opam_installer --- config/gfortran.cfg | 2 +- configure | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/gfortran.cfg b/config/gfortran.cfg index 94a12ccf..f561fcb7 100644 --- a/config/gfortran.cfg +++ b/config/gfortran.cfg @@ -35,7 +35,7 @@ OPENMP : 1 ; Append OpenMP flags # -ffast-math and the Fortran-specific # -fno-protect-parens and -fstack-arrays. [OPT] -FCFLAGS : -Ofast -march=native +FCFLAGS : -Ofast -msse4.2 # Profiling flags ################# diff --git a/configure b/configure index 98641633..2599fbbc 100755 --- a/configure +++ b/configure @@ -321,8 +321,8 @@ EOF echo \${QP_ROOT}/bin \ | sh \${QP_ROOT}/external/opam_installer.sh EOF - rm \${QP_ROOT}/external/opam_installer.sh - source \${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true + rm ${QP_ROOT}/external/opam_installer.sh + source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true opam switch create ocaml-base-compiler.4.07.1 || exit 1 opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing eval $(opam env)