Skip to content

Commit

Permalink
Fix Makefile variable for external HWLOC
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Apr 9, 2021
1 parent e1e9b9f commit 901a248
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ LIBS += -ldl
ifeq ($(LUA_INTERNAL),false)
LIBS += -l$(LUA_LIB_NAME)
endif
ifeq ($(USE_INTERNAL_HWLOC),false)
LIBS += -l$(HWLOC_LIB_NAME)
endif

#CONFIGURE BUILD SYSTEM
BUILD_DIR = ./$(COMPILER)
Expand Down Expand Up @@ -262,7 +265,7 @@ $(TARGET_GOTCHA_LIB):
@echo "===> ENTER $(GOTCHA_FOLDER)"
$(Q)$(MAKE) --no-print-directory -C $(GOTCHA_FOLDER) $(MAKECMDGOALS)

ifeq ($(USE_HWLOC_INTERNAL),true)
ifeq ($(USE_INTERNAL_HWLOC),true)
$(TARGET_HWLOC_LIB):
@echo "===> ENTER $(HWLOC_FOLDER)"
$(Q)$(MAKE) --no-print-directory -C $(HWLOC_FOLDER) $(MAKECMDGOALS)
Expand Down

0 comments on commit 901a248

Please sign in to comment.