Diff cudnn-8.6.0.163 with a cudnn-8.8.0.121

/usr/portage/dev-libs/cudnn/cudnn-8.8.0.121.ebuild 2023-10-09 14:52:29.492368350 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6 6
BASE_V="$(ver_cut 0-3)"
7
# supports 11.x but URL has a specific version number
8
CUDA_MA="11"
7
# supports 12.x but URL has a specific version number
8
CUDA_MA="12"
9 9
CUDA_MI="8"
10 10
CUDA_V="${CUDA_MA}.${CUDA_MI}"
11 11

  
12 12
DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
13 13
HOMEPAGE="https://developer.nvidia.com/cudnn"
14
SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive.tar.xz"
14
SRC_URI="https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive.tar.xz"
15 15
S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive"
16 16

  
17 17
LICENSE="NVIDIA-cuDNN"
......
19 19
KEYWORDS="~amd64 ~amd64-linux"
20 20
RESTRICT="mirror"
21 21

  
22
RDEPEND="=dev-util/nvidia-cuda-toolkit-11*"
22
RDEPEND="=dev-util/nvidia-cuda-toolkit-12*"
23 23

  
24 24
QA_PREBUILT="/opt/cuda/targets/x86_64-linux/lib/*"
25 25

  
Thank you!