Skip to content

Commit

Permalink
hwloc: limit rules for utils to ours only
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaas80 committed Nov 21, 2019
1 parent 06de26b commit 69abd31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/make.configuration.defn
Expand Up @@ -2,4 +2,5 @@

# Define the hwloc utilities
STD_HWLOC_UTILS = hwloc-assembler hwloc-assembler-remote hwloc-bind hwloc-calc hwloc-distances hwloc-distrib hwloc-info hwloc-ls hwloc-ps lstopo lstopo-no-graphics
ALL_UTILS += $(filter $(STD_HWLOC_UTILS), $(notdir $(wildcard $(HWLOC_DIR)/bin/*)))
HWLOC_UTILS = $(filter $(STD_HWLOC_UTILS), $(notdir $(wildcard $(HWLOC_DIR)/bin/*)))
ALL_UTILS += $(HWLOC_UTILS)
2 changes: 1 addition & 1 deletion src/make.configuration.deps
Expand Up @@ -2,7 +2,7 @@

# The hwloc utilities are copied from the install directory

$(UTIL_DIR)/%: $(HWLOC_DIR)/bin/%
$(patsubst %,$(UTIL_DIR)/%,$(HWLOC_UTILS)): $(UTIL_DIR)/% : $(HWLOC_DIR)/bin/%
@echo "Copying $* from $< to $(UTIL_DIR)"
-$(MKDIR) $(MKDIRFLAGS) $(UTIL_DIR) 2> /dev/null
cp $< $@

0 comments on commit 69abd31

Please sign in to comment.