Skip to content

Commit

Permalink
Makefile: allow specifying GLUON_DEVICES
Browse files Browse the repository at this point in the history
(cherry picked from commit 1318284)
  • Loading branch information
grische authored and github-actions[bot] committed Aug 18, 2023
1 parent 44d8fd2 commit 1b37027
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ info:
@echo

build: gluon-prepare output-clean
ifeq ($(origin GLUON_DEVICES), undefined)
for target in ${GLUON_TARGETS}; do \
echo ""Building target $$target""; \
${GLUON_MAKE} download all GLUON_TARGET="$$target"; \
done
else # only run for specific gluon devices (works only for a single GLUON_TARGET)
echo ""Building target ${GLUON_TARGETS} for devices ${GLUON_DEVICES}""; \
${GLUON_MAKE} download all GLUON_DEVICES="${GLUON_DEVICES}" GLUON_TARGET="${GLUON_TARGETS}"
endif

manifest: build
for branch in next experimental testing stable; do \
Expand Down

0 comments on commit 1b37027

Please sign in to comment.