From 7f58f7dc615155ff9575679f360b9e81814cedeb Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 12 Sep 2024 16:23:33 +0200 Subject: [PATCH] Symlink all the things. --- .github/workflows/nix_integration_tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nix_integration_tests.yaml b/.github/workflows/nix_integration_tests.yaml index 54051afe..7985c4f6 100644 --- a/.github/workflows/nix_integration_tests.yaml +++ b/.github/workflows/nix_integration_tests.yaml @@ -38,6 +38,12 @@ jobs: run: | sudo mkdir -p /run/opengl-driver/lib sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \; + sudo find /usr/lib . -name 'libcudart.so*' -exec ln -s {} /run/opengl-driver/lib/ \; + sudo find /usr/lib . -name 'libcufft.so*' -exec ln -s {} /run/opengl-driver/lib/ \; + sudo find /usr/lib . -name 'libcublas.so*' -exec ln -s {} /run/opengl-driver/lib/ \; + sudo find /usr/lib . -name 'libcublasLt.so*' -exec ln -s {} /run/opengl-driver/lib/ \; + sudo find /usr/lib . -name 'libcurand.so*' -exec ln -s {} /run/opengl-driver/lib/ \; + sudo find /usr/lib . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \; export LD_LIBRARY_PATH=/run/opengl-driver/lib nix develop .#test --command python -m pytest -svvx integration-tests/ env: