Browse Source

fix build

Samuel Thibault 7 years ago
parent
commit
8a88730dcd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/perfmodel/perfmodel_bus.c

+ 1 - 0
src/core/perfmodel/perfmodel_bus.c

@@ -571,6 +571,7 @@ static int compar_dev_timing(const void *left_dev_timing, const void *right_dev_
 	return (timing_sum2_left > timing_sum2_right);
 	return (timing_sum2_left > timing_sum2_right);
 }
 }
 
 
+#ifdef STARPU_HAVE_HWLOC
 static int find_cpu_from_numa_node(hwloc_obj_t obj)
 static int find_cpu_from_numa_node(hwloc_obj_t obj)
 {
 {
 	STARPU_ASSERT(obj);
 	STARPU_ASSERT(obj);