Browse Source

configure.ac: disable openmp on windows architectures

Nathalie Furmento 6 years ago
parent
commit
d939ae15c7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      configure.ac

+ 4 - 0
configure.ac

@@ -2869,6 +2869,10 @@ AC_ARG_ENABLE(openmp, [AS_HELP_STRING([--enable-openmp],
 
 
 AC_MSG_CHECKING(for OpenMP runtime support)
 AC_MSG_CHECKING(for OpenMP runtime support)
 
 
+if test x$starpu_windows = xyes ; then
+   enable_openmp=no
+fi
+
 if test x$enable_openmp = xyes; then
 if test x$enable_openmp = xyes; then
 	AC_DEFINE(STARPU_OPENMP, [1], [Define this to enable OpenMP runtime support])
 	AC_DEFINE(STARPU_OPENMP, [1], [Define this to enable OpenMP runtime support])
 fi
 fi