瀏覽代碼

Do not warn about debugging flags in simgrid mode

Samuel Thibault 12 年之前
父節點
當前提交
0ce268da40
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/core/workers.c

+ 2 - 0
src/core/workers.c

@@ -718,6 +718,7 @@ int starpu_init(struct starpu_conf *user_conf)
 {
 	int ret;
 
+#ifndef STARPU_SIMGRID
 #ifdef __GNUC__
 #ifndef __OPTIMIZE__
 	_STARPU_DISP("Warning: StarPU was configured with --enable-debug (-O0), and is thus not optimized\n");
@@ -746,6 +747,7 @@ int starpu_init(struct starpu_conf *user_conf)
 #ifdef STARPU_ENABLE_STATS
 	_STARPU_DISP("Warning: StarPU was configured with --enable-stats, which slows down a bit\n");
 #endif
+#endif
 
 	_STARPU_PTHREAD_MUTEX_LOCK(&init_mutex);
 	while (initialized == CHANGING)