Commit 4fee25b1 authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

Add configure option to disable StarPU

parent 4fc893b4
......@@ -48,7 +48,17 @@ AC_SUBST([LIKWID_LIBS])
AM_CONDITIONAL(HAVE_LIKWID, test x$have_likwid = xyes)
# StarPU
PKG_CHECK_MODULES([STARPU], [starpumpi-1.3], [have_starpu=yes], [have_starpu=no])
AC_MSG_CHECKING(whether StarPU should be enabled)
AC_ARG_ENABLE(starpu, [AS_HELP_STRING([--disable-starpu], [disable StarPU])],
enable_starpu=$enableval, enable_starpu=yes)
AC_MSG_RESULT($enable_starpu)
if test x$enable_starpu = xyes
then
PKG_CHECK_MODULES([STARPU], [starpumpi-1.3], [have_starpu=yes], [have_starpu=no])
else
have_starpu=no
fi
AM_CONDITIONAL(HAVE_STARPU, test x$have_starpu = xyes)
if test x$have_starpu = xyes; then
save_LIBS="$LIBS"
......
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