Commit 31549c47 authored by Juergen Reuter's avatar Juergen Reuter
Browse files

c595d43 Merge branch 'veto_ifort21_012' into 'master'

parent e12c9b3a
......@@ -384,12 +384,15 @@ WO_FC_VETO_GFORTRAN_4()
### Veto against buggy gfortran 6.5.0 version
WO_FC_VETO_GFORTRAN_65()
### Veto against ifort 15/16/17
### Veto against ifort 15/16/17/18
WO_FC_VETO_IFORT_15_18()
### Veto against ifort 19.0.0/1/2
WO_FC_VETO_IFORT_190012()
### Veto against ifort 21.0/1/2
WO_FC_VETO_IFORT_21012()
### Require extension '.f90' for all compiler checks
AC_FC_SRCEXT([f90])
......
......@@ -165,6 +165,7 @@ FC_IS_IFORT15161718="no"
fi
AC_SUBST([FC_IS_IFORT15161718])
### Catch buggy ifort version 19.0.0/1/2
if test "$wo_cv_fc_vendor" = "Intel" -a "$wo_cv_fc_version" = "19.0.0" || test "$wo_cv_fc_vendor" = "Intel" -a "$wo_cv_fc_version" = "19.0.1" || test "$wo_cv_fc_vendor" = "Intel" -a "$wo_cv_fc_version" = "19.0.2"; then
FC_IS_IFORT190012="yes"
......@@ -173,6 +174,14 @@ FC_IS_IFORT190012="no"
fi
AC_SUBST([FC_IS_IFORT190012])
### Catch buggy ifort version 21.1/1/2
if test "$wo_cv_fc_vendor" = "Intel" -a "$wo_cv_fc_version" = "21.0.0" || test "$wo_cv_fc_vendor" = "Intel" -a "$wo_cv_fc_version" = "21.1.0" || test "$wo_cv_fc_vendor" = "Intel" -a "$wo_cv_fc_version" = "21.2.0"; then
FC_IS_IFORT21012="yes"
else
FC_IS_IFORT21012="no"
fi
AC_SUBST([FC_IS_IFORT21012])
AC_CACHE_CHECK([the major version],
[wo_cv_fc_major_version],
[wo_cv_fc_major_version=[`echo $wo_cv_fc_version | $SED -e 's/\([0-9][0-9]*\)\..*/\1/'`]
......@@ -219,7 +228,14 @@ AC_MSG_ERROR([*************************************************************])
fi
])
AC_DEFUN([WO_FC_VETO_IFORT_21012],
[dnl
if test "$FC_IS_IFORT21012" = "yes"; then
AC_MSG_NOTICE([error: *****************************************************])
AC_MSG_NOTICE([error: ifort v21.0/1/2 suffer from a compiler bug, disabled.])
AC_MSG_ERROR([*****************************************************])
fi
])
### Determine Fortran flags and file extensions
AC_DEFUN([WO_FC_PARAMETERS],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment