From 45144f51a9342e5bf599aa5ea4848f144d40b935 Mon Sep 17 00:00:00 2001 From: Umut Date: Mon, 23 Sep 2024 16:26:37 +0300 Subject: [PATCH] fix(frontend): use find command to run the benchmarks as for loop is fragile in makefiles --- frontends/concrete-python/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontends/concrete-python/Makefile b/frontends/concrete-python/Makefile index 738c7e1c5c..43ff522211 100644 --- a/frontends/concrete-python/Makefile +++ b/frontends/concrete-python/Makefile @@ -119,11 +119,12 @@ pytest-gpu: tfhers-utils -m "${PYTEST_MARKERS}" benchmark: - eval $(shell make silent_cp_activate) + eval $(shell #make silent_cp_activate) export PROGRESS_SAMPLES=3 export PROGRESS_OUTPUT_INDENT=2 - rm -rf progress.json && for script in benchmarks/*.py; do python $script; done + rm -rf progress.json + find ./benchmarks/ -name "*.py" -exec python {} \; process-benchmark-results-for-grafana: eval $(shell make silent_cp_activate)