Browse Source

only disable fortran when using the gcc cross-compiler, ifort supports mic

Samuel Thibault 8 years ago
parent
commit
82cba0e625
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mic-configure

+ 2 - 1
mic-configure

@@ -122,6 +122,7 @@ do
 		    unset CXXLD
 		    unset CXXLD
 		    unset F77
 		    unset F77
 		    unset FC
 		    unset FC
+		    params+=(--disable-fortran)
 		fi
 		fi
 	fi
 	fi
 
 
@@ -134,7 +135,7 @@ do
 	fi
 	fi
 
 
 	if test x$arch = xmic ; then
 	if test x$arch = xmic ; then
-	    params+=(--host=$mic_host --disable-build-doc --disable-fortran)
+	    params+=(--host=$mic_host --disable-build-doc)
 	    if [ "$native_mic" -eq "1" ]
 	    if [ "$native_mic" -eq "1" ]
 	    then
 	    then
 		params+=(--enable-maxcpus=250)
 		params+=(--enable-maxcpus=250)