Skip to content

Commit b232d79

Browse files
committed
add hwloc dir to starpu makefile
1 parent fb3aa1a commit b232d79

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

starpu/Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ INC_EXT =
2828

2929
# Location of the libraries.
3030
LIB = -Wl,-rpath,$(STARPU_DIR)/lib: $(STARPU_DIR)/lib/libstarpu-$(STARPU_VERSION).so $(STARPU_DIR)/lib/libstarpumpi-$(STARPU_VERSION).so -L../core -lcore_s
31-
LIB_EXT =
31+
LIB_EXT =
32+
33+
ifeq ($(strip $(TASKBENCH_USE_HWLOC)),1)
34+
INC_EXT += -I$(HWLOC_DIR)/include
35+
endif
3236

3337
INC := $(INC) $(INC_EXT)
3438
LIB := $(LIB) $(LIB_EXT)

0 commit comments

Comments
 (0)