Selaa lähdekoodia

Disable mlr by default when building in simgrid mode

Samuel Thibault 5 vuotta sitten
vanhempi
commit
5a8b5a4ecc
1 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  1. 7 1
      configure.ac

+ 7 - 1
configure.ac

@@ -2970,9 +2970,15 @@ AC_SUBST(BLAS_LIB,$blas_lib)
 #			 Multiple linear regression			      #
 #                                                                             #
 ###############################################################################
+if test x$enable_simgrid = xyes ; then
+	# There is no need for building mlr models in simgrid mode
+	default_enable_mlr=no
+else
+	default_enable_mlr=yes
+fi
 AC_ARG_ENABLE(mlr, [AS_HELP_STRING([--disable-mlr],
 			[Disable multiple linear regression models])],
-			enable_mlr=$enableval, enable_mlr=yes)
+			enable_mlr=$enableval, enable_mlr=$default_enable_mlr)
 
 AC_MSG_CHECKING(whether multiple linear regression models are disabled)
 if test x$enable_mlr = xyes -a "$starpu_windows" != "yes" ; then