mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
changes in configure.ac ; to be verified
This commit is contained in:
parent
6f44e3c192
commit
09f0963d1f
13
configure.ac
13
configure.ac
@ -286,11 +286,17 @@ case ${CXX} in
|
||||
CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp"
|
||||
fi
|
||||
;;
|
||||
g++-10.0.1)
|
||||
CXXLD=${CXX}
|
||||
# removed no-strict-aliasing flag here; only VLA tested
|
||||
CXXFLAGS="$CXXFLAGS -msve-vector-bits=512"
|
||||
armclang++)
|
||||
CXXLD=${CXX}
|
||||
# removed no-strict-aliasing flag here; no loop unrolling for VLA
|
||||
CXXFLAGS="$CXXFLAGS -fno-unroll-loops -mllvm -vectorizer-min-trip-count=2"
|
||||
*)
|
||||
CXXLD=${CXX}
|
||||
#
|
||||
#CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
|
||||
CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -632,4 +638,3 @@ AC_OUTPUT
|
||||
echo ""
|
||||
cat grid.configure.summary
|
||||
echo ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user