Skip to content

Commit

Permalink
Merge pull request #251 from grische/feature/gluon_devices_via_makefile
Browse files Browse the repository at this point in the history
Makefile: allow specifying GLUON_DEVICES
  • Loading branch information
grische authored Aug 18, 2023
2 parents 9fdacd0 + 1318284 commit 0472271
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 0472271

Please sign in to comment.