Browse Source

Fix simgrid-MC build

Samuel Thibault 5 years ago
parent
commit
b5375e6816
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/model-checking/starpu_barrier.c

+ 5 - 0
tests/model-checking/starpu_barrier.c

@@ -67,6 +67,7 @@
 #include <xbt/synchro_core.h>
 #include <xbt/synchro_core.h>
 #endif
 #endif
 
 
+/* common/thread.c references these, but doesn't need to have them working anyway */
 int
 int
 _starpu_simgrid_thread_start(int argc, char *argv[])
 _starpu_simgrid_thread_start(int argc, char *argv[])
 {
 {
@@ -80,6 +81,10 @@ _starpu_simgrid_set_stack_size(size_t stack_size)
 {
 {
 }
 }
 
 
+starpu_sg_host_t _starpu_simgrid_get_host_by_name(const char *name)
+{
+}
+
 static void _starpu_clock_gettime(struct timespec *ts)
 static void _starpu_clock_gettime(struct timespec *ts)
 {
 {
 #ifdef HAVE_SIMGRID_GET_CLOCK
 #ifdef HAVE_SIMGRID_GET_CLOCK