mirror of https://gitlab.com/QEF/q-e.git
replaced grep -o [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1401 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
0a7851ebb1
commit
73edf36bfa
|
@ -1925,8 +1925,8 @@ linux* )
|
||||||
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
||||||
if test "$ifort_version" != ""
|
if test "$ifort_version" != ""
|
||||||
then
|
then
|
||||||
version=`$f90 -V 2>&1 | grep -o "Version[^,]*" |
|
version=`$f90 -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
if test `echo $version | sed 's/\..*//'` -lt 8
|
if test `echo $version | sed 's/\..*//'` -lt 8
|
||||||
then
|
then
|
||||||
f90_id=ifc
|
f90_id=ifc
|
||||||
|
@ -2793,8 +2793,8 @@ linux* )
|
||||||
if test "$icc_version" != ""
|
if test "$icc_version" != ""
|
||||||
then
|
then
|
||||||
cc_id=icc
|
cc_id=icc
|
||||||
cversion=`$cc -V 2>&1 | grep -o "Version[^,]*" |
|
cversion=`$cc -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
echo "${ECHO_T}icc $cversion"
|
echo "${ECHO_T}icc $cversion"
|
||||||
elif test "$pgcc_version" != ""
|
elif test "$pgcc_version" != ""
|
||||||
then
|
then
|
||||||
|
|
|
@ -145,8 +145,8 @@ linux* )
|
||||||
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
||||||
if test "$ifort_version" != ""
|
if test "$ifort_version" != ""
|
||||||
then
|
then
|
||||||
version=`$f90 -V 2>&1 | grep -o "Version[[^,]]*" |
|
version=`$f90 -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
if test `echo $version | sed 's/\..*//'` -lt 8
|
if test `echo $version | sed 's/\..*//'` -lt 8
|
||||||
then
|
then
|
||||||
f90_id=ifc
|
f90_id=ifc
|
||||||
|
@ -275,8 +275,8 @@ linux* )
|
||||||
if test "$icc_version" != ""
|
if test "$icc_version" != ""
|
||||||
then
|
then
|
||||||
cc_id=icc
|
cc_id=icc
|
||||||
cversion=`$cc -V 2>&1 | grep -o "Version[[^,]]*" |
|
cversion=`$cc -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
echo "${ECHO_T}icc $cversion"
|
echo "${ECHO_T}icc $cversion"
|
||||||
elif test "$pgcc_version" != ""
|
elif test "$pgcc_version" != ""
|
||||||
then
|
then
|
||||||
|
|
|
@ -1925,8 +1925,8 @@ linux* )
|
||||||
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
||||||
if test "$ifort_version" != ""
|
if test "$ifort_version" != ""
|
||||||
then
|
then
|
||||||
version=`$f90 -V 2>&1 | grep -o "Version[^,]*" |
|
version=`$f90 -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
if test `echo $version | sed 's/\..*//'` -lt 8
|
if test `echo $version | sed 's/\..*//'` -lt 8
|
||||||
then
|
then
|
||||||
f90_id=ifc
|
f90_id=ifc
|
||||||
|
@ -2793,8 +2793,8 @@ linux* )
|
||||||
if test "$icc_version" != ""
|
if test "$icc_version" != ""
|
||||||
then
|
then
|
||||||
cc_id=icc
|
cc_id=icc
|
||||||
cversion=`$cc -V 2>&1 | grep -o "Version[^,]*" |
|
cversion=`$cc -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
echo "${ECHO_T}icc $cversion"
|
echo "${ECHO_T}icc $cversion"
|
||||||
elif test "$pgcc_version" != ""
|
elif test "$pgcc_version" != ""
|
||||||
then
|
then
|
||||||
|
|
|
@ -145,8 +145,8 @@ linux* )
|
||||||
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
g95_version=`$f90 -v 2>&1 | grep "g95"`
|
||||||
if test "$ifort_version" != ""
|
if test "$ifort_version" != ""
|
||||||
then
|
then
|
||||||
version=`$f90 -V 2>&1 | grep -o "Version[[^,]]*" |
|
version=`$f90 -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
if test `echo $version | sed 's/\..*//'` -lt 8
|
if test `echo $version | sed 's/\..*//'` -lt 8
|
||||||
then
|
then
|
||||||
f90_id=ifc
|
f90_id=ifc
|
||||||
|
@ -275,8 +275,8 @@ linux* )
|
||||||
if test "$icc_version" != ""
|
if test "$icc_version" != ""
|
||||||
then
|
then
|
||||||
cc_id=icc
|
cc_id=icc
|
||||||
cversion=`$cc -V 2>&1 | grep -o "Version[[^,]]*" |
|
cversion=`$cc -V 2>&1 | grep Version |
|
||||||
awk '{print $2}'`
|
sed 's/.*Version//' | awk '{print $1}'`
|
||||||
echo "${ECHO_T}icc $cversion"
|
echo "${ECHO_T}icc $cversion"
|
||||||
elif test "$pgcc_version" != ""
|
elif test "$pgcc_version" != ""
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue