From ad202b8beb2d9d3649bb3523038e6d544ac62249 Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Thu, 12 Jan 2023 11:26:21 +0000 Subject: [PATCH] #2599 clone pybind11 inside asv virtualenv --- asv.conf.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/asv.conf.json b/asv.conf.json index bcc8614639..d0a8625ce2 100644 --- a/asv.conf.json +++ b/asv.conf.json @@ -23,10 +23,11 @@ // // "install_command": ["in-dir={env_dir} python -mpip install {wheel_file}"], // "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"], - // "build_command": [ - // "python setup.py build", - // "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" - // ], + "build_command": [ + "git clone --depth 1 --branch v2.6.2 https://github.com/pybind/pybind11.git", + "python setup.py build", + "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" + ], // List of branches to benchmark. If not provided, defaults to "master" // (for git) or "default" (for mercurial).