Skip to content

Commit

Permalink
Incluide the CUDA runtime static library in the external package
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Sep 8, 2021
1 parent 70ac47a commit 293dd8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cuda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 293dd8e

Please sign in to comment.