From 293dd8e83da9d74aee48f360a7858607dc715827 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Wed, 8 Sep 2021 12:04:41 +0200 Subject: [PATCH] Incluide the CUDA runtime static library in the external package --- cuda.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cuda.spec b/cuda.spec index feb4a0495c8..2f931502b3a 100644 --- a/cuda.spec +++ b/cuda.spec @@ -32,8 +32,9 @@ mkdir -p %{i}/include mkdir -p %{i}/lib64 mkdir -p %{i}/lib64/stubs -# package only the runtime static library +# package only the runtime static libraries mv %_builddir/build/lib64/libcudadevrt.a %{i}/lib64/ +mv %_builddir/build/lib64/libcudart_static.a %{i}/lib64/ rm -f %_builddir/build/lib64/lib*.a # package only the CUDA driver and NVML library stub