Skip to content

Commit

Permalink
Leave out nsight and nvvp from the CUDA distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Jun 8, 2018
1 parent a6ad157 commit ac623fc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions cuda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ mkdir -p %_builddir/tmp
rm -rf %_builddir/lib64/libcublas.so.9.2.88
rm -rf %_builddir/lib64/libnvblas.so.9.2.88

ln -sf ../libnvvp/nvvp %_builddir/bin/nvvp
ln -sf ../libnsight/nsight %_builddir/bin/nsight
mkdir -p %{i}/lib64
# package only runtime and device static libraries
cp -ar %_builddir/lib64/libcudart_static.a %{i}/lib64/
Expand All @@ -49,15 +47,21 @@ rm -rf %_builddir/lib64/libnvrtc.so*
rm -rf %_builddir/lib64/libnvrtc-builtins.so*
# package the other dynamic libraries
cp -ar %_builddir/lib64/* %{i}/lib64/
cp -ar %_builddir/libnvvp %{i}
cp -ar %_builddir/libnsight %{i}
# package the includes
rm -rf %_builddir/include/sobol_direction_vectors.h
cp -ar %_builddir/include %{i}
# leave out nsight and nvvp
#cp -ar %_builddir/jre %{i}
#cp -ar %_builddir/libnsight %{i}
#ln -sf ../libnsight/nsight %_builddir/bin/nsight
rm -rf %_builddir/bin/nsight
#cp -ar %_builddir/libnvvp %{i}
#ln -sf ../libnvvp/nvvp %_builddir/bin/nvvp
rm -rf %_builddir/bin/nvvp
rm -rf %_builddir/bin/computeprof
# package the binaries and tools
cp -ar %_builddir/bin %{i}
cp -ar %_builddir/nvvm %{i}
cp -ar %_builddir/jre %{i}
# package the version file
cp -ar %_builddir/version.txt %{i}

Expand Down

0 comments on commit ac623fc

Please sign in to comment.