Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philippe SWARTVAGHER
memory-contention
Commits
4fee25b1
Commit
4fee25b1
authored
Dec 17, 2021
by
Philippe SWARTVAGHER
Browse files
Add configure option to disable StarPU
parent
4fc893b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
4fee25b1
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment