Browse Source

revert Makefile.am to build tools and disable tools/starpu_perfmodel_plot.c

Nathalie Furmento 11 years ago
parent
commit
8e6e6dcaab
2 changed files with 12 additions and 1 deletions
  1. 1 1
      Makefile.am
  2. 11 0
      tools/starpu_perfmodel_plot.c

+ 1 - 1
Makefile.am

@@ -18,7 +18,7 @@ ACLOCAL_AMFLAGS=-I m4
 CLEANFILES = *.gcno *.gcda *.linkinfo
 CLEANFILES = *.gcno *.gcda *.linkinfo
 
 
 SUBDIRS = src
 SUBDIRS = src
-SUBDIRS += tests
+SUBDIRS += tools tests
 SUBDIRS += doc
 SUBDIRS += doc
 
 
 if USE_MPI
 if USE_MPI

+ 11 - 0
tools/starpu_perfmodel_plot.c

@@ -16,6 +16,16 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
  */
 
 
+#if 1
+#include <stdio.h>
+#include <stdlib.h>
+int main(int argc, char **argv)
+{
+	fprintf(stderr, "disabled tool\n");
+	return 0;
+}
+#else
+
 #include <config.h>
 #include <config.h>
 #include <assert.h>
 #include <assert.h>
 #include <unistd.h>
 #include <unistd.h>
@@ -708,3 +718,4 @@ int main(int argc, char **argv)
 
 
 	return 0;
 	return 0;
 }
 }
+#endif