From 9c9d9289eea5767918799b7a785fc176461dd55e Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase <svenstaro@archlinux.org> Date: Thu, 23 Mar 2023 05:19:59 +0000 Subject: [PATCH] Add missing symlink required by Tensorflow --- PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 040794c..3649e94 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=(cuda cuda-tools) pkgbase=cuda pkgver=12.1.0 _driverver=530.30.02 -pkgrel=1 +pkgrel=2 pkgdesc="NVIDIA's GPU programming toolkit" arch=('x86_64') url="https://developer.nvidia.com/cuda-zone" @@ -120,6 +120,8 @@ build() { # Add a symlink lib->lib64 as some libraries might expect that (FS#76951) ln -s lib64 "${_prepdir}/opt/cuda/lib" + ln -s libcupti.so.12 "${_prepdir}"/opt/cuda/extras/CUPTI/lib64/libcupti.so.12.1 + # Allow newer compilers to work. This is not officially supported in the Arch package but # if users want to try, let them try. # See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements -- GitLab