From 7850abe2942d876bc54a7fe424f1127efe83aff9 Mon Sep 17 00:00:00 2001 From: Tito Dal Canton Date: Tue, 20 Aug 2024 11:49:10 +0000 Subject: [PATCH] Make sure BBHx knows how to link locally-installed LAPACK --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0baf40ef5cf..d311b012424 100644 --- a/tox.ini +++ b/tox.ini @@ -38,6 +38,10 @@ conda_deps= gsl lapack==3.6.1 conda_channels=conda-forge +setenv = + PYCBC_TEST_TYPE=docs + ; Needed to build BBHx's wheel that links to LAPACK in the Conda env + LIBRARY_PATH={env:CONDA_PREFIX:}/lib:{env:LIBRARY_PATH:} commands = pytest # The following are long running or may require @@ -81,5 +85,8 @@ conda_deps= lapack==3.6.1 openmpi conda_channels=conda-forge -setenv = PYCBC_TEST_TYPE=docs +setenv = + PYCBC_TEST_TYPE=docs + ; Needed to build BBHx's wheel that links to LAPACK in the Conda env + LIBRARY_PATH={env:CONDA_PREFIX:}/lib:{env:LIBRARY_PATH:} commands = bash tools/pycbc_test_suite.sh