[arch-commits] Commit in cuda/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jan 3 16:54:49 UTC 2021
Date: Sunday, January 3, 2021 @ 16:54:48
Author: svenstaro
Revision: 805519
upgpkg: cuda 11.2.0-3
Modified:
cuda/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-03 16:53:46 UTC (rev 805518)
+++ PKGBUILD 2021-01-03 16:54:48 UTC (rev 805519)
@@ -1,10 +1,10 @@
# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
# Maintainer: Konstantin Gizdov <arch at kge.pw>
-pkgname=(cuda cuda-tools cuda-static)
+pkgname=(cuda cuda-tools)
pkgbase=cuda
pkgver=11.2.0
_driverver=460.27.04
-pkgrel=2
+pkgrel=3
pkgdesc="NVIDIA's GPU programming toolkit"
arch=('x86_64')
url="https://developer.nvidia.com/cuda-zone"
@@ -110,12 +110,14 @@
}
package_cuda() {
+ replaces+=('cuda-static')
+
local _prepdir="${srcdir}/prep"
cd "${_prepdir}"
cp -al * "${pkgdir}"
- rm -r "${pkgdir}"/opt/cuda/{bin/nvvp,bin/computeprof,libnvvp,nsight*,targets/x86_64-linux/lib/*.a}
+ rm -r "${pkgdir}"/opt/cuda/{bin/nvvp,bin/computeprof,libnvvp,nsight*}
}
package_cuda-tools() {
@@ -131,14 +133,4 @@
mv "${_prepdir}"/opt/cuda/libnvvp "${pkgdir}/opt/cuda"
}
-package_cuda-static() {
- pkgdesc="NVIDIA's GPU programming toolkit (static libs)"
- depends=('cuda')
-
- local _prepdir="${srcdir}/prep"
-
- mkdir -p "${pkgdir}"/opt/cuda/targets/x86_64-linux/lib
- cp -al "${_prepdir}"/opt/cuda/targets/x86_64-linux/lib/*.a "${pkgdir}"/opt/cuda/targets/x86_64-linux/lib
-}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list