Skip to content

Commit a57740e

Browse files
committed
Set LIBRARY_PATH as safer method to use stubs
1 parent 10b0455 commit a57740e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-cuda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ jobs:
142142
cd llama.cpp
143143
144144
echo '=== Configuring build with Ninja ==='
145+
export LIBRARY_PATH="/usr/local/cuda/lib64/stubs${LIBRARY_PATH:+:$LIBRARY_PATH}"
145146
cmake -B build -S . \
146147
-G Ninja \
147-
-DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/cuda/lib64/stubs" \
148148
-DGGML_CUDA=ON \
149149
-DCMAKE_CUDA_ARCHITECTURES='${{ matrix.architectures }}' \
150150
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)