9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

Fix rm opam_installer.sh (#53)

* Changed native into SSE4.2 in gfortran.cfg

* Fixed rm opam_installer
This commit is contained in:
Anthony Scemama 2019-07-26 12:39:58 +02:00 committed by GitHub
parent ff3e5b2ac1
commit faaba29eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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
#################

4
configure vendored
View File

@ -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)