Browse Source

gcc: Build example programs only when `STARPU_USE_CPU'.

* gcc-plugin/examples/Makefile.am (noinst_PROGRAMS): Define only when
  STARPU_USE_CPU.
Ludovic Courtès 13 years ago
parent
commit
e0170e07ad
1 changed files with 4 additions and 1 deletions
  1. 4 1
      gcc-plugin/examples/Makefile.am

+ 4 - 1
gcc-plugin/examples/Makefile.am

@@ -13,13 +13,16 @@
 #
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
+if STARPU_USE_CPU
+
 noinst_PROGRAMS =				\
   matrix-mult stencil5 vector_scal/vector_scal
 
 if !NO_BLAS_LIB
 noinst_PROGRAMS +=				\
   cholesky/cholesky
-endif
+endif !NO_BLAS_LIB
+endif STARPU_USE_CPU
 
 AM_LDFLAGS = $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la