summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2020-11-09 03:32:54 +0200
committerSayed Adel <seiko@imavr.com>2020-11-09 03:34:54 +0200
commit11728e8a3cf967455aacc36e2d2237745b07c1e7 (patch)
tree478848b9ba8d1b50789126874590ffb67c909e38 /runtests.py
parent5f071c67660dd3eedd6eddb39681cd2943166e68 (diff)
downloadnumpy-11728e8a3cf967455aacc36e2d2237745b07c1e7.tar.gz
BUG, Benchmark: fix passing optimization build options to asv
Diffstat (limited to 'runtests.py')
-rwxr-xr-xruntests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index 87e26768b..20295ef33 100755
--- a/runtests.py
+++ b/runtests.py
@@ -524,6 +524,7 @@ def asv_compare_config(bench_path, args, h_commits):
is_cached = asv_substitute_config(conf_path, nconf_path,
numpy_build_options = ' '.join([f'\\"{v}\\"' for v in build]),
+ numpy_global_options= ' '.join([f'--global-option=\\"{v}\\"' for v in ["build"] + build])
)
if not is_cached:
asv_clear_cache(bench_path, h_commits)