From d483ed2a348894410b6f039c37e5fd50b4ba948f Mon Sep 17 00:00:00 2001 From: Gabriele Oliaro Date: Wed, 30 Aug 2023 19:49:37 -0400 Subject: [PATCH] fix --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a012c357d..1c6eff4a12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,6 +127,7 @@ jobs: export CUDA_DIR="$CUDA_PATH" export LD_LIBRARY_PATH="$CUDA_PATH/lib64/stubs:$LD_LIBRARY_PATH" export FF_HOME=$(pwd) + sudo ln -s "$CUDA_PATH/lib64/stubs/libcuda.so" "$CUDA_PATH/lib64/stubs/libcuda.so.1" cd build ./tests/unit/unit-test @@ -134,7 +135,6 @@ jobs: run: | if [[ "${FF_GPU_BACKEND}" == "cuda" ]]; then export LD_LIBRARY_PATH="$CUDA_PATH/lib64/stubs:$LD_LIBRARY_PATH" - sudo ln -s "$CUDA_PATH/lib64/stubs/libcuda.so" "$CUDA_PATH/lib64/stubs/libcuda.so.1" fi # Remove build folder to check that the installed version can run independently of the build files rm -rf build