From e31cda04ced4b12b51482ca01c9bd6484516daf9 Mon Sep 17 00:00:00 2001 From: Tito Dal Canton Date: Tue, 20 Aug 2024 12:46:34 +0000 Subject: [PATCH] That did not work, but this looks better --- tox.ini | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 6c0019ddf58..d3d96b2039b 100644 --- a/tox.ini +++ b/tox.ini @@ -39,8 +39,9 @@ conda_deps= lapack==3.6.1 conda_channels=conda-forge setenv = - ; Needed to build BBHx's wheel that links to LAPACK in the Conda env - LIBRARY_PATH={env:CONDA_PREFIX:}/lib:{env:LIBRARY_PATH:} + ; Tell the linker to look for shared libs inside the temporary Conda env. + ; Needed to build BBHx's wheel, whick links to LAPACK. + LIBRARY_PATH={envdir}/lib:{env:LIBRARY_PATH:} commands = pytest # The following are long running or may require @@ -86,6 +87,7 @@ conda_deps= 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:} + ; Tell the linker to look for shared libs inside the temporary Conda env. + ; Needed to build BBHx's wheel, whick links to LAPACK. + LIBRARY_PATH={envdir}/lib:{env:LIBRARY_PATH:} commands = bash tools/pycbc_test_suite.sh