Skip to content

Commit ce12ec6

Browse files
committed
There is no conda prefix when there's no conda
1 parent 9924815 commit ce12ec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/test_thirdparty_nvmath.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ python -m numba --sysinfo
4646
rapids-logger "Run nvmath-python device tests"
4747
pushd tests
4848
# Required for nvmath-python to locate pip-install MathDx
49-
export MATHDX_HOME=${CONDA_PREFIX}/lib/python3.13/site-packages/nvidia/mathdx
49+
export SYS_PREFIX=`python -c "import sys; print(sys.prefix)`
50+
export MATHDX_HOME=${SYS_PREFIX}/lib/python3.13/site-packages/nvidia/mathdx
5051
python -m pytest nvmath_tests/device
5152
5253
popd

0 commit comments

Comments
 (0)