浏览代码

preset environment variables for make check in simgrid mode

Samuel Thibault 9 年之前
父节点
当前提交
53b9b23889
共有 2 个文件被更改,包括 9 次插入2 次删除
  1. 8 1
      Makefile.am
  2. 1 1
      doc/doxygen/chapters/01building.doxy

+ 8 - 1
Makefile.am

@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
 #
-# Copyright (C) 2009-2015  Université de Bordeaux
+# Copyright (C) 2009-2016  Université de Bordeaux
 # Copyright (C) 2010, 2011, 2012, 2013, 2015  CNRS
 # Copyright (C) 2010, 2011, 2012, 2013, 2015  CNRS
 # Copyright (C) 2014  INRIA
 # Copyright (C) 2014  INRIA
 # Copyright (C) 2016  Inria
 # Copyright (C) 2016  Inria
@@ -16,6 +16,13 @@
 #
 #
 # 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 STARPU_SIMGRID
+STARPU_PERF_MODEL_DIR=$(abs_top_srcdir)/tools/perfmodels/sampling
+STARPU_HOSTNAME=mirage
+export STARPU_HOSTNAME
+export STARPU_PERF_MODEL_DIR
+endif
+
 ACLOCAL_AMFLAGS=-I m4
 ACLOCAL_AMFLAGS=-I m4
 CLEANFILES = *.gcno *.gcda *.linkinfo
 CLEANFILES = *.gcno *.gcda *.linkinfo
 
 

+ 1 - 1
doc/doxygen/chapters/01building.doxy

@@ -126,7 +126,7 @@ $ make
 Once everything is built, you may want to test the result. An
 Once everything is built, you may want to test the result. An
 extensive set of regression tests is provided with StarPU. Running the
 extensive set of regression tests is provided with StarPU. Running the
 tests is done by calling <c>make check</c>. These tests are run every night
 tests is done by calling <c>make check</c>. These tests are run every night
-and the result from the main profile is publicly available (http://starpu.gforge.inria.fr/testing/). Note: for the simgrid version, <c>STARPU_HOSTNAME=mirage make check</c> should be used instead.
+and the result from the main profile is publicly available (http://starpu.gforge.inria.fr/testing/).
 
 
 \verbatim
 \verbatim
 $ make check
 $ make check