Skip to content

Commit c02e9de

Browse files
committed
Resolve file lists upon invocation
1 parent 0320fce commit c02e9de

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

tools/make/lib/benchmark/c.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This target runs a list of C benchmarks consecutively.
77

88
benchmark-c:
9-
$(QUIET) for file in $(C_BENCHMARKS); do \
9+
$(QUIET) $(FIND_C_BENCHMARKS_CMD) | grep '^\/' | while read -r file; do \
1010
echo ""; \
1111
echo "Running benchmark: $$file"; \
1212
cd `dirname $$file` && \

tools/make/lib/benchmark/cpp.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This target runs a list of C++ benchmarks consecutively.
77

88
benchmark-cpp:
9-
$(QUIET) for file in $(CPP_BENCHMARKS); do \
9+
$(QUIET) $(FIND_CPP_BENCHMARKS_CMD) | grep '^\/' | while read -r file; do \
1010
echo ""; \
1111
echo "Running benchmark: $$file"; \
1212
cd `dirname $$file` && \

tools/make/lib/benchmark/javascript.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This target runs a list of JavaScript benchmarks in sequential order. Note that we assume the benchmarks can be run using Node.js.
77

88
benchmark-javascript: $(NODE_MODULES)
9-
$(QUIET) for file in $(BENCHMARKS); do \
9+
$(QUIET) $(FIND_BENCHMARKS_CMD) | grep '^\/' | while read -r file; do \
1010
echo ""; \
1111
echo "Running benchmark: $$file"; \
1212
NODE_ENV=$(NODE_ENV_BENCHMARK) \

tools/make/lib/benchmark/julia.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This target runs a list of Julia benchmarks in sequential order. Note that we assume the benchmarks can be run using Julia.
77

88
benchmark-julia:
9-
$(QUIET) for file in $(JULIA_BENCHMARKS); do \
9+
$(QUIET) $(FIND_JULIA_BENCHMARKS_CMD) | grep '^\/' | while read -r file; do \
1010
echo ""; \
1111
echo "Running benchmark: $$file"; \
1212
$(MAKE_EXECUTABLE) $$file && $$file || exit 1; \

tools/make/lib/benchmark/python.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This target runs a list of Python benchmarks in sequential order. Note that we assume the benchmarks can be run using Python.
77

88
benchmark-python:
9-
$(QUIET) for file in $(PYTHON_BENCHMARKS); do \
9+
$(QUIET) $(FIND_PYTHON_BENCHMARKS_CMD) | grep '^\/' | while read -r file; do \
1010
echo ""; \
1111
echo "Running benchmark: $$file"; \
1212
$(PYTHON) $$file || exit 1; \

tools/make/lib/benchmark/r.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This target runs a list of R benchmarks in sequential order. Note that we assume the benchmarks can be run using R.
77

88
benchmark-r:
9-
$(QUIET) for file in $(R_BENCHMARKS); do \
9+
$(QUIET) $(FIND_R_BENCHMARKS_CMD) | grep '^\/' | while read -r file; do \
1010
echo ""; \
1111
echo "Running benchmark: $$file"; \
1212
$(MAKE_EXECUTABLE) $$file && $$file || exit 1; \

0 commit comments

Comments
 (0)