Compare commits

..

6 Commits

Author SHA1 Message Date
Cappy Ishihara a4ecd34cdd higher priority for sources too 2025-01-05 15:33:48 +07:00
Cappy Ishihara 18eea51485 Lower priority for terra-extras 2025-01-05 15:32:20 +07:00
Gil a7c3b8f139 Add: CUDA (#2872)
* Add: CUDA

* Fix: Arches

* Fix: Arches again

* Fix: Arches AGAIN again

* Fix CUDA anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Fix: Anda.hcl files

* Fix: Anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Fix: anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Update anda.hcl

Signed-off-by: Gil <rockgrub@protonmail.com>

* Cleanup/fixes: Specs and Anda files

* Cleanup/fixes: Specs and Anda files

---------

Signed-off-by: Gil <rockgrub@protonmail.com>
2025-01-05 14:48:11 +08:00
Raboneko 76126f783f bump: ruffle 2025-01-05 01:59:41 +00:00
Raboneko ac017e8f84 bump(nightly): envision nightly mpv nightly nightly gamescope-session 2025-01-05 01:42:22 +00:00
Raboneko d160038cf4 bump: opengamepadui 2025-01-04 16:13:24 +00:00
79 changed files with 2285 additions and 16 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit a651b87cc38ab9a208c9272b4f6e5021a1fbfa66
%global commit_date 20250104
%global commit 1c3b4decb50593268c16cf8b47397fb3a7a87c9d
%global commit_date 20250105
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: envision
@@ -1,5 +1,5 @@
%global commit e4873a0060127ddaf8f91fb86de219e0d96ea4cf
%global commit_date 20250104
%global commit 106ae1ac4251239e56c848667f1e3ffbbb30c762
%global commit_date 20250105
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%define debug_package %nil
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit 257395de995eebf48209e392798b1e6704c20802
%global commit 44384aad73da69b51c57fc7299457beecfcc1698
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250104
%global commit_date 20250105
%global ver 0.39.0
Name: mpv-nightly
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 2025-01-04
%global ver 2025-01-05
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
@@ -1,6 +1,6 @@
%global commit 1baf8928a0bd6ccc2f49e1e9478baab71d49a018
%global commit 0306c592a7dbaa394da481ab2219b3bcd2b8b48f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250104
%global commit_date 20250105
%global cache_dir %{builddir}/zig-cache
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit 9613084f5933d5ac0d6da28d04f4340fbe2cf425
%global commit de08e47e5bc94afdee81fd99f838100fc577a98c
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250104
%global commit_date 20250105
%global ver 0.169.0
%bcond_with check
@@ -1,8 +1,8 @@
%define debug_package %nil
%global commit 4ad912c4a3c09c91551f21617981b878f7084058
%global commit 2b9525daff0a28a17bc99d3a54998306584f6a86
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241206
%global commit_date 20250105
Name: gamescope-session
Version: %commit_date.%shortcommit
+1 -1
View File
@@ -1,5 +1,5 @@
Name: opengamepadui
Version: 0.35.5
Version: 0.35.6
Release: 1%?dist
Summary: Open source gamepad-native game launcher and overlay
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "compat-nvidia-repo.spec"
}
}
@@ -0,0 +1,34 @@
Name: compat-nvidia-repo
Version: 565.77
Epoch: 3
Release: 1%{?dist}
Summary: Compatibility package required by official CUDA packages
License: NVIDIA License
URL: https://developer.nvidia.com/cuda-toolkit
BuildArch: noarch
Requires: nvidia-driver >= %{?epoch:%{epoch}:}%{version}
Requires: nvidia-driver-cuda >= %{?epoch:%{epoch}:}%{version}
Requires: nvidia-driver-cuda-libs >= %{?epoch:%{epoch}:}%{version}
Requires: nvidia-driver-libs >= %{?epoch:%{epoch}:}%{version}
Requires: nvidia-kmod >= %{?epoch:%{epoch}:}%{version}
Requires: nvidia-settings >= %{?epoch:%{epoch}:}%{version}
Provides: cuda-drivers >= %{?epoch:%{epoch}:}%{version}
Provides: nvidia-open >= %{?epoch:%{epoch}:}%{version}
# Add any versioned provides:
Provides: cuda-drivers-560 >= %{?epoch:%{epoch}:}%{version}
Provides: cuda-drivers-565 >= %{?epoch:%{epoch}:}%{version}
Provides: nvidia-open-560 >= %{?epoch:%{epoch}:}%{version}
Provides: nvidia-open-565 >= %{?epoch:%{epoch}:}%{version}
%description
Nvidia drivers metapackage required by official CUDA packages. It pulls in all
Nvidia driver components.
%files
# Without an empty files section the package is not created.
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-cccl.spec"
}
}
+58
View File
@@ -0,0 +1,58 @@
%global real_name cuda_cccl
%global debug_package %{nil}
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CXX Core Compute Libraries
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Requires: cmake-filesystem
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description
CXX Core Compute Libraries.
%package devel
Summary: CXX Core Compute Libraries development files
%description devel
CXX Core Compute Libraries development files.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}/cmake
cp -fr include/* %{buildroot}%{_includedir}/
# Conflict with rocthrust-devel in main repositories:
mv %{buildroot}%{_includedir}/thrust %{buildroot}%{_includedir}/cuda/
cp -fr lib/cmake/* %{buildroot}%{_libdir}/cmake
rm -f %{buildroot}%{_libdir}/cmake/thrust/README.md
%files devel
%license LICENSE
%doc lib/cmake/thrust/README.md
%{_includedir}/*
%{_libdir}/cmake/*
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-cudart.spec"
}
}
@@ -0,0 +1,87 @@
%global real_name cuda_cudart
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CUDA Runtime API library
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Source3: cudart.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
CUDA Runtime (cudart).
%package devel
Summary: Development files for NVIDIA CUDA Runtime API library
Requires: opencl-headers
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA CUDA Runtime API library.
%package static
Summary: Static libraries for NVIDIA CUDA Runtime API
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for NVIDIA CUDA Runtime API.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
rm -fr %{buildroot}%{_includedir}/CL
cp -fr lib/libcu* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcudart.so.*
%files devel
%{_includedir}/*
%{_libdir}/libcudadevrt.a
%{_libdir}/libcudart.so
%{_libdir}/libculibos.a
%{_libdir}/pkgconfig/cudart.pc
%files static
%{_libdir}/libcudart_static.a
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cudart
Description: CUDA Runtime Library
Version: CUDA_VERSION
Libs: -L${libdir} -lcudart
Cflags: -I${includedir}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-cudnn.spec"
}
}
@@ -0,0 +1,76 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global cuda_version 12
Name: cuda-cudnn
Version: 9.6.0.74
Release: 1%{?dist}
Epoch: 1
Summary: NVIDIA CUDA Deep Neural Network library (cuDNN)
License: NVIDIA Software Development Kit
URL: https://developer.nvidia.com/cudnn
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-%{version}_cuda%{cuda_version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-sbsa/cudnn-linux-sbsa-%{version}_cuda%{cuda_version}-archive.tar.xz
%description
The NVIDIA CUDA Deep Neural Network library (cuDNN) is a GPU-accelerated
library of primitives for deep neural networks. cuDNN provides highly tuned
implementations for standard routines such as forward and backward convolution,
pooling, normalization, and activation layers. cuDNN is part of the NVIDIA Deep
Learning SDK.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: cuda%{?_isa} >= %{?epoch:%{epoch}:}%{cuda_version}
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
%package static
Summary: Static libraries for %{name}
Requires: %{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
Static library files for %{name}.
%prep
%ifarch x86_64
%setup -q -n cudnn-linux-x86_64-%{version}_cuda%{cuda_version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n cudnn-linux-sbsa-%{version}_cuda%{cuda_version}-archive
%endif
%install
mkdir -p %{buildroot}%{_libdir}
cp -a lib/*.so* %{buildroot}%{_libdir}/
chmod 755 %{buildroot}%{_libdir}/*.so*
cp -a lib/*.a %{buildroot}%{_libdir}/
chmod 644 %{buildroot}%{_libdir}/*.a
mkdir -p %{buildroot}%{_includedir}
cp -a include/* %{buildroot}%{_includedir}/
chmod 644 %{buildroot}%{_includedir}/*
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcudnn*.so.*
%files devel
%{_includedir}/cudnn*
%{_libdir}/libcudnn*.so
%files static
%{_libdir}/libcudnn*.a
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-cuobjdump.spec"
}
}
@@ -0,0 +1,48 @@
%global real_name cuda_cuobjdump
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: Utility to extract information from CUDA binary files
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
cuobjdump extracts information from CUDA binary files (both standalone and those
embedded in host binaries) and presents them in human readable format. The
output of cuobjdump includes CUDA assembly code for each kernel, CUDA ELF
section headers, string tables, relocators and other CUDA specific sections. It
also extracts embedded ptx text from host binaries.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
install -m 0755 -p -D bin/cuobjdump %{buildroot}%{_bindir}/cuobjdump
%files
%license LICENSE
%{_bindir}/cuobjdump
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-cupti.spec"
}
}
@@ -0,0 +1,83 @@
%global real_name cuda_cupti
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.80
Release: 1%{?dist}
Summary: NVIDIA CUDA Profiling Tools Interface (CUPTI) library
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The NVIDIA CUDA Profiling Tools Interface (CUPTI) provides performance analysis
tools with detailed information about how applications are using the GPUs in a
system.
%package devel
Summary: Development files for NVIDIA CUDA Profiling Tools Interface (CUPTI) library
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package provides development files for the NVIDIA CUDA Profiling Tools
Interface (CUPTI) library.
%package static
Summary: Static libraries for NVIDIA CUDA Profiling Tools Interface (CUPTI)
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for NVIDIA CUDA Profiling Tools Interface
(CUPTI).
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%{?ldconfig_scriptlets}
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/* %{buildroot}%{_libdir}/
%files
%license LICENSE
%{_libdir}/libcheckpoint.so
%{_libdir}/libcupti.so.*
%{_libdir}/libpcsamplingutil.so
%files devel
%doc doc/* samples/*
%{_includedir}/*
%{_libdir}/libcupti.so
%{_libdir}/libnvperf_host.so
%{_libdir}/libnvperf_target.so
%files static
%{_libdir}/libcupti_static.a
%ifarch x86_64
%{_libdir}/libnvperf_host_static.a
%endif
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-cuxxfilt.spec"
}
}
@@ -0,0 +1,53 @@
%global real_name cuda_cuxxfilt
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CUDA cuxxfilt (demangler)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
%description
CUDA cuxxfilt (demangler).
%package devel
Summary: CUDA cuxxfilt (demangler) development files
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
CUDA cuxxfilt (demangler).
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
install -m 0755 -p -D bin/cu++filt %{buildroot}%{_bindir}/cu++filt
install -m 0644 -p -D include/nv_decode.h %{buildroot}%{_includedir}/nv_decode.h
install -m 0644 -p -D lib/libcufilt.a %{buildroot}%{_libdir}/libcufilt.a
%files devel
%license LICENSE
%{_bindir}/cu++filt
%{_includedir}/nv_decode.h
%{_libdir}/libcufilt.a
%changelog
%autochangelog
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "cuda-gcc.spec"
}
}
+47
View File
@@ -0,0 +1,47 @@
%global gcc_major 13
Name: cuda-gcc
Version: 13.3.1
Release: 2%{?dist}
Summary: GNU Compiler Collection CUDA compatibility package
License: BSD
URL: http://gcc.gnu.org
BuildArch: noarch
Requires: gcc%{gcc_major}-c++
Provides: cuda-gcc = %{version}-%{release}
Obsoletes: cuda-gcc < %{version}-%{release}
Provides: cuda-gcc-c++ = %{version}-%{release}
Obsoletes: cuda-gcc-c++ < %{version}-%{release}
Provides: cuda-gcc-gfortran = %{version}-%{release}
Obsoletes: cuda-gcc-gfortran < %{version}-%{release}
%description
The %{name} package contains scripts that are sourced in the environment to use
the GCC compatibility packages when invoking NVCC.
%install
mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
cat > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh <<EOF
export NVCC_CCBIN='g++-%{gcc_major}'
# Alternatively you can use the following:
export NVCC_PREPEND_FLAGS='-ccbin %{_bindir}/g++-%{gcc_major}'
EOF
cat > %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh <<EOF
setenv NVCC_CCBIN 'g++-%{gcc_major}'
# Alternatively you can use the following:
setenv NVCC_PREPEND_FLAGS '-ccbin %{_bindir}/g++-%{gcc_major}'
EOF
%files
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.csh
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-gdb.spec"
}
}
+61
View File
@@ -0,0 +1,61 @@
%global real_name cuda_gdb
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CUDA GDB tool for debugging CUDA applications
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Requires: gdb
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
CUDA-GDB is the NVIDIA tool for debugging CUDA applications. It's an extension
to GDB, the GNU Project debugger. The tool provides developers with a mechanism
for debugging CUDA applications running on actual hardware. This enables
developers to debug applications without the potential variations introduced by
simulation and emulation environments.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_datadir}/%{name}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
%ifarch x86_64
install -p -m 0755 -D bin/cuda-gdb-minimal %{buildroot}%{_bindir}/cuda-gdb
%else
install -p -m 0755 -D bin/cuda-gdb %{buildroot}%{_bindir}/cuda-gdb
%endif
install -p -m 0755 -D bin/cuda-gdbserver %{buildroot}%{_bindir}/cuda-gdbserver
cp -f extras/Debugger/include/* %{buildroot}%{_includedir}/
%files
%license LICENSE
%{_bindir}/cuda-gdb
%{_bindir}/cuda-gdbserver
%{_includedir}/cudacoredump.h
%{_includedir}/cudadebugger.h
%{_includedir}/cuda_stdint.h
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-nvdisasm.spec"
}
}
@@ -0,0 +1,49 @@
%global real_name cuda_nvdisasm
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: Utility to extract information from CUDA binary files
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
nvdisasm extracts information from standalone cubin files and presents them in
human readable format. The output of nvdisasm includes CUDA assembly code for
each kernel, listing of ELF data sections and other CUDA specific sections.
Output style and options are controlled through nvdisasm command-line options.
nvdisasm also does control flow analysis to annotate jump/branch targets and
makes the output easier to read.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
install -m 0755 -p -D bin/nvdisasm %{buildroot}%{_bindir}/nvdisasm
%files
%license LICENSE
%{_bindir}/nvdisasm
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-nvml.spec"
}
}
+79
View File
@@ -0,0 +1,79 @@
%global real_name cuda_nvml_dev
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: cuda-nvml
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: NVIDIA Management library (NVML)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvidia-ml.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
A C-based API for monitoring and managing various states of the NVIDIA GPU
devices. It provides a direct access to the queries and commands exposed via
nvidia-smi. The runtime version of NVML ships with the NVIDIA display driver.
Each new version of NVML is backwards compatible and is intended to be a
platform for building 3rd party applications.
%package devel
Summary: Development files for the NVIDIA Management library (NVML)
# Unversioned as it is provided by the driver's NVML library
Requires: %{name}%{_isa}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA Management library
(NVML). Main libraries are provided by the driver package.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Libraries in the driver package
ln -sf libnvidia-ml.so.1 %{buildroot}%{_libdir}/libnvidia-ml.so
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files devel
%license LICENSE
%doc nvml/example
%{_includedir}/nvml.h
%{_libdir}/libnvidia-ml.so
%{_libdir}/pkgconfig/nvidia-ml.pc
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nvidia-ml
Description: NVML
Version: CUDA_VERSION
Libs: -L${libdir} -lnvidia-ml
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: accinj64
Description: OpenACC 64-bit Injection Library
Version: CUDA_VERSION
Libs: -L${libdir} -laccinj64
Cflags: -I${includedir}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-nvprof.spec"
}
}
@@ -0,0 +1,77 @@
%global real_name cuda_nvprof
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.80
Release: 1%{?dist}
Summary: CUDA command line profiling tool
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source3: accinj%{__isa_bits}.pc
Source4: cuinj%{__isa_bits}.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The nvprof profiling tool enables you to collect and view profiling data from
the command-line.
Note that Visual Profiler and nvprof will be deprecated in a future CUDA
release. The NVIDIA Volta platform is the last architecture on which these tools
are fully supported. It is recommended to use next-generation tools NVIDIA
Nsight Systems for GPU and CPU sampling and tracing and NVIDIA Nsight Compute
for GPU kernel profiling.
%package devel
Summary: Development files for the CUDA command line profiling tool
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the CUDA command line profiling tool
libraries.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr bin/* %{buildroot}%{_bindir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{SOURCE4} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_bindir}/nvprof
%{_libdir}/*.so.*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cuinj64
Description: CUDA 64-bit Injection Library
Version: CUDA_VERSION
Libs: -L${libdir} -lcuinj64
Cflags: -I${includedir}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-nvprune.spec"
}
}
@@ -0,0 +1,45 @@
%global real_name cuda_nvprune
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CUDA tool to prune host object files and libraries
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
nvprune prunes host object files and libraries to only contain device code for
the specified targets.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
install -m 0755 -p -D bin/nvprune %{buildroot}%{_bindir}/nvprune
%files
%license LICENSE
%{_bindir}/nvprune
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-nvrtc.spec"
}
}
@@ -0,0 +1,95 @@
%global real_name cuda_nvrtc
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.85
Release: 1%{?dist}
Summary: CUDA runtime compilation library (NVRTC)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvrtc.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
NVRTC is a runtime compilation library for CUDA C++. It accepts CUDA C++ source
code in character string form and creates handles that can be used to obtain
the PTX. The PTX string generated by NVRTC can be loaded by cuModuleLoadData and
cuModuleLoadDataEx, and linked with other modules by cuLinkAddData of the CUDA
Driver API. This facility can often provide optimizations and performance not
possible in a purely offline static compilation.
%package devel
Summary: Development files for the NVRTC runtime compilation library
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVRTC runtime compilation
library.
%package static
Summary: Static libraries for the NVRTC runtime compilation library
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for the NVRTC runtime compilation
library.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libnvrtc-builtins.so.*
%{_libdir}/libnvrtc.so.*
%files devel
%{_includedir}/nvrtc.h
%{_libdir}/libnvrtc-builtins.so
%{_libdir}/libnvrtc.so
%{_libdir}/pkgconfig/nvrtc.pc
%files static
%{_libdir}/libnvrtc-builtins_static.a
%{_libdir}/libnvrtc.so
%{_libdir}/libnvrtc_static.a
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nvrtc
Description: A runtime compilation library for CUDA C++
Version: CUDA_VERSION
Libs: -L${libdir} -lnvrtc
Cflags: -I${includedir}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda-nvtx.spec"
}
}
+98
View File
@@ -0,0 +1,98 @@
%global real_name cuda_nvtx
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: NVIDIA Tools Extension (NVTX) library
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvToolsExt.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
A C-based API for annotating events, code ranges, and resources in your
applications. Applications which integrate NVTX can use the Visual Profiler to
capture and visualize these events and ranges.
%package devel
Summary: Development files for NVIDIA Tools Extension (NVTX) library
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA Tools Extension (NVTX)
library.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libnvToolsExt.so.*
%files devel
%{_includedir}/nvToolsExtCuda.h
%{_includedir}/nvToolsExtCudaRt.h
%{_includedir}/nvToolsExt.h
%{_includedir}/nvToolsExtOpenCL.h
%{_includedir}/nvToolsExtSync.h
%dir %{_includedir}/nvtx3/
%{_includedir}/nvtx3/nvToolsExtCuda.h
%{_includedir}/nvtx3/nvToolsExtCudaRt.h
%{_includedir}/nvtx3/nvToolsExt.h
%{_includedir}/nvtx3/nvToolsExtOpenCL.h
%{_includedir}/nvtx3/nvToolsExtSync.h
%dir %{_includedir}/nvtx3/nvtxDetail/
%{_includedir}/nvtx3/nvtxDetail/nvtxImplCore.h
%{_includedir}/nvtx3/nvtxDetail/nvtxImplCudaRt_v3.h
%{_includedir}/nvtx3/nvtxDetail/nvtxImplCuda_v3.h
%{_includedir}/nvtx3/nvtxDetail/nvtxImpl.h
%{_includedir}/nvtx3/nvtxDetail/nvtxImplOpenCL_v3.h
%{_includedir}/nvtx3/nvtxDetail/nvtxImplSync_v3.h
%{_includedir}/nvtx3/nvtxDetail/nvtxInitDecls.h
%{_includedir}/nvtx3/nvtxDetail/nvtxInitDefs.h
%{_includedir}/nvtx3/nvtxDetail/nvtxInit.h
%{_includedir}/nvtx3/nvtxDetail/nvtxLinkOnce.h
%{_includedir}/nvtx3/nvtxDetail/nvtxTypes.h
%{_libdir}/libnvToolsExt.so
%{_libdir}/pkgconfig/nvToolsExt.pc
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nvToolsExt
Description: NVIDIA Tools Extension
Version: CUDA_VERSION
Libs: -L${libdir} -lnvToolsExt
Cflags: -I${includedir}
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "cuda-profiler.spec"
}
}
@@ -0,0 +1,40 @@
%global real_name cuda_profiler_api
%global debug_package %{nil}
%global major_package_version 12-6
Name: cuda-profiler
Epoch: 1
Version: 12.2.53
Release: 1%{?dist}
Summary: CUDA Profiler API
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 ppc64le aarch64 %{ix86}
# Different tarballs per architecture but they all contain the same headers:
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
%description
NVIDIA CUDA API for profiling.
%package devel
Summary: Development files for CUDA Profiler API
Conflicts: %{real_name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the CUDA Profiler API.
%prep
%autosetup -n %{real_name}-linux-x86_64-%{version}-archive
%install
mkdir -p %{buildroot}%{_includedir}
cp -f include/* %{buildroot}%{_includedir}/
%files devel
%license LICENSE
%{_includedir}/*
%changelog
%autochangelog
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "cuda-sanitizer.spec"
}
}
@@ -0,0 +1,85 @@
%global real_name cuda_sanitizer_api
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: cuda-sanitizer
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CUDA Compute Sanitizer API
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64 %{ix86}
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
BuildRequires: chrpath
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
Compute Sanitizer is a functional correctness checking suite included in the
CUDA toolkit. It provides a set of API's to enable third party tools to write
GPU sanitizing tools, such as memory and race checkers.
%package devel
Summary: Development files for CUDA Compute Sanitizer API
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the CUDA Compute Sanitizer API.
%prep
%ifarch x86_64 %{ix86}
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
chrpath -d compute-sanitizer/libTreeLauncherTargetInjection.so
%endif
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
cp -fr compute-sanitizer/include/* %{buildroot}%{_includedir}/
%ifarch %{ix86}
cp -fr compute-sanitizer/x86/lib* %{buildroot}%{_libdir}/
cp -fr compute-sanitizer/x86/Tree* %{buildroot}%{_bindir}/
%else
cp -fr compute-sanitizer/lib* %{buildroot}%{_libdir}/
cp -fr compute-sanitizer/Tree* compute-sanitizer/compute-sanitizer %{buildroot}%{_bindir}/
%endif
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_bindir}/TreeLauncherSubreaper
%{_bindir}/TreeLauncherTargetLdPreloadHelper
%ifnarch %{ix86}
%{_bindir}/compute-sanitizer
%{_libdir}/libsanitizer-collection.so
%{_libdir}/libsanitizer-public.so
%endif
%{_libdir}/libInterceptorInjectionTarget.so
%{_libdir}/libTreeLauncherPlaceholder.so
%{_libdir}/libTreeLauncherTargetInjection.so
%{_libdir}/libTreeLauncherTargetUpdatePreloadInjection.so
%files devel
%doc compute-sanitizer/docs
%{_includedir}/*
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "cuda.spec"
}
}
+10
View File
@@ -0,0 +1,10 @@
if ( -x /usr/bin/cuda-g++ ) then
setenv HOST_COMPILER /usr/bin/cuda-g++
endif
if ( -d /usr/include/cuda ) then
setenv CUDA_INCLUDE_DIRS /usr/include
setenv CUDA_INC_PATH /usr/include
endif
setenv CUDA_ROOT /usr
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cuda
Description: CUDA Driver Library
Version: CUDA_VERSION
Libs: -L${libdir} -lcuda
Cflags: -I${includedir}
+10
View File
@@ -0,0 +1,10 @@
if [ -x /usr/bin/cuda-g++ ]; then
export HOST_COMPILER=/usr/bin/cuda-g++
fi
if [ -d /usr/include/cuda ]; then
export CUDA_INCLUDE_DIRS=/usr/include
export CUDA_INC_PATH=/usr/include
fi
export CUDA_ROOT=/usr
+152
View File
@@ -0,0 +1,152 @@
%global debug_package %{nil}
%global major_package_version 12-6
Name: cuda
Version: 12.6.77
Release: 1%{?dist}
Summary: NVIDIA Compute Unified Device Architecture Toolkit
Epoch: 1
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-zone
ExclusiveArch: x86_64 aarch64
# Nvidia really provides the same package for ppc64le, aarch64 and x86_64 but
# it's really the same package.
Source0: https://developer.download.nvidia.com/compute/cuda/redist/cuda_documentation/linux-x86_64/cuda_documentation-linux-x86_64-%{version}-archive.tar.xz
Source3: %{name}.sh
Source4: %{name}.csh
Source21: cuda.pc
Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-minimal-build-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
CUDA is a parallel computing platform and programming model that enables
dramatic increases in computing performance by harnessing the power of the
graphics processing unit (GPU).
%package cli-tools
Summary: Compute Unified Device Architecture command-line tools
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-cupti%{?_isa}
Requires: %{name}-devel%{?_isa}
Requires: %{name}-gdb%{?_isa}
Requires: %{name}-memcheck%{?_isa}
Requires: %{name}-nvdisasm%{?_isa}
%ifnarch aarch64
Requires: %{name}-nvprof%{?_isa}
%endif
Requires: %{name}-nvtx%{?_isa}
Requires: %{name}-sanitizer%{?_isa}
Requires: expat >= 1.95
Conflicts: %{name}-command-line-tools-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description cli-tools
Contains the command line tools to debug and profile CUDA applications.
%package libs
Summary: Compute Unified Device Architecture native run-time library
Requires(post): ldconfig
Requires: %{name}-cudart%{?_isa}
Requires: %{name}-nvrtc%{?_isa}
Requires: libcublas%{?_isa}
Requires: libcufft%{?_isa}
Requires: libcufile%{?_isa}
Requires: libcurand%{?_isa}
Requires: libcusolver%{?_isa}
Requires: libcusparse%{?_isa}
Requires: libnpp%{?_isa}
Requires: libnvjpeg%{?_isa}
Conflicts: %{name}-driver-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-libraries-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
# Explicitly declare the dependency or libcuda.so.1()(64bit) will pull in xorg-x11-drv-cuda-libs
Requires: nvidia-driver-cuda-libs%{_isa}
%description libs
Contains the CUDA run-time library required to run CUDA application natively.
%package extra-libs
Summary: All runtime NVIDIA CUDA libraries
Requires(post): ldconfig
Requires: %{name}-cupti%{?_isa}
Conflicts: %{name}-runtime-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description extra-libs
Metapackage that installs all runtime NVIDIA CUDA libraries.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-libs%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-cccl-devel%{?_isa}
Requires: %{name}-cudart-devel%{?_isa}
Requires: %{name}-cupti-devel%{?_isa}
Requires: %{name}-nvcc%{?_isa}
Requires: %{name}-nvprof-devel%{?_isa}
Requires: %{name}-nvprune%{?_isa}
Requires: %{name}-nvml-devel%{?_isa}
Requires: %{name}-nvrtc-devel%{?_isa}
Requires: %{name}-nvtx-devel%{?_isa}
Requires: %{name}-cuobjdump%{?_isa}
Requires: %{name}-cuxxfilt-devel%{?_isa}
Requires: libcublas-devel%{?_isa}
Requires: libcufft-devel%{?_isa}
Requires: libcufile-devel%{?_isa}
Requires: libcurand-devel%{?_isa}
Requires: libcusolver-devel%{?_isa}
Requires: libcusparse-devel%{?_isa}
Requires: libnpp-devel%{?_isa}
Requires: libnvjpeg-devel%{?_isa}
Conflicts: %{name}-headers-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
Conflicts: %{name}-libraries-dev-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
Conflicts: %{name}-misc-headers-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
Conflicts: %{name}-toolkit-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
Provides: %{name}-toolkit-%{major_package_version} = %{?epoch:%{epoch}:}%{version}
%description devel
This package provides the development files of the %{name} package.
%prep
%setup -q -n cuda_documentation-linux-x86_64-%{version}-archive
%build
# Nothing to build
%install
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
# Environment settings
install -pm 644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d
# pkg-config files
install -pm 644 %{SOURCE21} %{buildroot}/%{_libdir}/pkgconfig
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}/cuda|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%files
%license LICENSE
%doc CUDA_Toolkit_Release_Notes.txt DOCS EULA.txt README tools
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%files cli-tools
# Empty metapackage
%files libs
# Empty metapackage
%files extra-libs
# Empty metapackage
%files devel
%{_libdir}/pkgconfig/cuda.pc
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libcublas.spec"
}
}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cublas
Description: CUDA Basic Linear Algebra Subprograms
Version: CUDA_VERSION
Libs: -L${libdir} -lcublas
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cublas
Description: CUDA Basic Linear Algebra Subprograms Lite
Version: CUDA_VERSION
Libs: -L${libdir} -lcublasLt
Cflags: -I${includedir}
+100
View File
@@ -0,0 +1,100 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libcublas
Epoch: 1
Version: 12.6.4.1
Release: 1%{?dist}
Summary: NVIDIA CUDA Basic Linear Algebra Subroutines (cuBLAS) libraries
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source3: cublas.pc
Source4: cublasLt.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The NVIDIA CUDA Basic Linear Algebra Subroutines (cuBLAS) library is a
GPU-accelerated version of the complete standard BLAS library that delivers 6x
to 17x faster performance than the latest MKL BLAS.
%package devel
Summary: Development files for NVIDIA CUDA Basic Linear Algebra Subroutines (cuBLAS)
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA CUDA Basic Linear
Algebra Subroutines (cuBLAS) libraries.
%package static
Summary: Static libraries for NVIDIA CUDA Basic Linear Algebra Subroutines (cuBLAS)
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for the NVIDIA CUDA Basic Linear Algebra
Subroutines (cuBLAS).
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{SOURCE4} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcublas.so.*
%{_libdir}/libcublasLt.so.*
%{_libdir}/libnvblas.so.*
%files devel
%ifarch x86_64
%doc src
%endif
%{_includedir}/nvblas.h
%{_includedir}/cublasLt.h
%{_includedir}/cublas_v2.h
%{_includedir}/cublas.h
%{_includedir}/cublas_api.h
%{_includedir}/cublasXt.h
%{_libdir}/libcublas.so
%{_libdir}/libcublasLt.so
%{_libdir}/libnvblas.so
%{_libdir}/pkgconfig/cublas.pc
%{_libdir}/pkgconfig/cublasLt.pc
%files static
%{_libdir}/libcublas_static.a
%{_libdir}/libcublasLt_static.a
%changelog
%autochangelog
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["aarch64"]
rpm {
spec = "libcudla.spec"
}
}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cublas
Description: CUDA Deep Learning Accelerator (DLA) engines driver
Version: CUDA_VERSION
Libs: -L${libdir} -lcudla
Cflags: -I${includedir}
+60
View File
@@ -0,0 +1,60 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libcudla
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: NVIDIA CUDA Deep Learning Accelerator (DLA) engines (Jetson Xavier and Orin)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-aarch64/%{name}-linux-aarch64-%{version}-archive.tar.xz
Source1: cudla.pc
%description
Low-level driver for the Deep Learning Accelerator (DLA) engine for Jetson Xavier and Orin boards.
%package devel
Summary: Development files for CUDA Deep Learning Accelerator (DLA) engines
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the CUDA Deep Learning Accelerator (DLA) engines.
%prep
%autosetup -n %{name}-linux-aarch64-%{version}-archive
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE1} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%files
%license LICENSE
%{_libdir}/libcudla.so.*
%files devel
%{_includedir}/cudla.h
%{_includedir}/cudlaExternalEtbl.hpp
%{_libdir}/libcudla.so
%{_libdir}/pkgconfig/cudla.pc
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libcufft.spec"
}
}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cufft
Description: CUDA Fast Fourier Transform
Version: CUDA_VERSION
Libs: -L${libdir} -lcufft
Cflags: -I${includedir}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cufftw
Description: CUDA Fast Fourier Transform Wide
Version: CUDA_VERSION
Libs: -L${libdir} -lcufftw
Cflags: -I${includedir}
+105
View File
@@ -0,0 +1,105 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libcufft
Epoch: 2
Version: 11.3.0.4
Release: 1%{?dist}
Summary: NVIDIA CUDA Fast Fourier Transform library (cuFFT) libraries
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source3: cufft.pc
Source4: cufftw.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
# Drop in 11.7:
Provides: cuda-cufft = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: cuda-cufft < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The NVIDIA CUDA Fast Fourier Transform libraries (cuFFT) provide a simple
interface for computing FFTs up to 10x faster. By using hundreds of processor
cores inside NVIDIA GPUs, cuFFT delivers the floatingpoint performance of a
GPU without having to develop your own custom GPU FFT implementation.
%package devel
Summary: Development files for CUDA Fast Fourier Transform library (cuFFT)
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
# Drop in 11.7:
Provides: cuda-cufft-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: cuda-cufft-devel < %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package provides development files for the NVIDIA CUDA Fast Fourier
Transform library (cuFFT) libraries.
%package static
Summary: Static libraries for CUDA Fast Fourier Transform library (cuFFT)
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
# Drop in 11.7:
Provides: cuda-cufft-static = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: cuda-cufft-static < %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for CUDA Fast Fourier Transform library
(cuFFT).
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{SOURCE4} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcufft.so.*
%{_libdir}/libcufftw.so.*
%files devel
%{_includedir}/cudalibxt.h
%{_includedir}/cufft.h
%{_includedir}/cufftw.h
%{_includedir}/cufftXt.h
%{_libdir}/libcufft.so
%{_libdir}/libcufftw.so
%{_libdir}/pkgconfig/cufft.pc
%{_libdir}/pkgconfig/cufftw.pc
%files static
%{_libdir}/libcufft_static.a
%{_libdir}/libcufft_static_nocallback.a
%{_libdir}/libcufftw_static.a
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libcurand.spec"
}
}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: curand
Description: CUDA Random Number Generation Library
Version: CUDA_VERSION
Libs: -L${libdir} -lcurand
Cflags: -I${includedir}
+103
View File
@@ -0,0 +1,103 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libcurand
Epoch: 2
Version: 10.3.7.77
Release: 1%{?dist}
Summary: NVIDIA CUDA Random Number Generation library (cuRAND)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source3: curand.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The NVIDIA CUDA Random Number Generation library (cuRAND) delivers high
performance GPU-accelerated random number generation (RNG). The cuRAND library
delivers high quality random numbers 8x faster using hundreds of processor
cores available in NVIDIA GPUs.
%package devel
Summary: Development files for NVIDIA CUDA Random Number Generation library (cuRAND)
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA CUDA Random Number
Generation library (cuRAND).
%package static
Summary: Static libraries for NVIDIA CUDA Random Number Generation (cuRAND)
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for NVIDIA CUDA Random Number Generation
(cuRAND).
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcurand.so.*
%files devel
%{_includedir}/curand_discrete2.h
%{_includedir}/curand_discrete.h
%{_includedir}/curand_globals.h
%{_includedir}/curand.h
%{_includedir}/curand_kernel.h
%{_includedir}/curand_lognormal.h
%{_includedir}/curand_mrg32k3a.h
%{_includedir}/curand_mtgp32dc_p_11213.h
%{_includedir}/curand_mtgp32.h
%{_includedir}/curand_mtgp32_host.h
%{_includedir}/curand_mtgp32_kernel.h
%{_includedir}/curand_normal.h
%{_includedir}/curand_normal_static.h
%{_includedir}/curand_philox4x32_x.h
%{_includedir}/curand_poisson.h
%{_includedir}/curand_precalc.h
%{_includedir}/curand_uniform.h
%{_libdir}/libcurand.so
%{_libdir}/pkgconfig/curand.pc
%files static
%{_libdir}/libcurand_static.a
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libcusparse.spec"
}
}
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: cusparse
Description: CUDA Sparse Matrix Library
Version: CUDA_VERSION
Libs: -L${libdir} -lcusparse
Cflags: -I${includedir}
@@ -0,0 +1,91 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libcusparse
Epoch: 1
Version: 12.5.4.2
Release: 1%{?dist}
Summary: NVIDIA CUDA Sparse Matrix library (cuSPARSE) library
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source3: cusparse.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The NVIDIA CUDA Sparse Matrix library (cuSPARSE) provides a collection of basic
linear algebra subroutines used for sparse matrices that delivers up to 8x
faster performance than the latest MKL. The cuSPARSE library is designed to be
called from C or C++, and the latest release includes a sparse triangular
solver.
%package devel
Summary: Development files for NVIDIA CUDA Sparse Matrix (cuSPARSE) library
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the NVIDIA CUDA Sparse Matrix
library (cuSPARSE) library.
%package static
Summary: Static libraries for NVIDIA CUDA Sparse Matrix (cuSPARSE)
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for NVIDIA CUDA Sparse Matrix (cuSPARSE).
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcusparse.so.*
%files devel
%ifarch x86_64
%doc src
%endif
%{_includedir}/cusparse.h
%{_includedir}/cusparse_v2.h
%{_libdir}/libcusparse.so
%{_libdir}/pkgconfig/cusparse.pc
%files static
%{_libdir}/libcusparse_static.a
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libcusparselt.spec"
}
}
@@ -0,0 +1,79 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
Name: libcusparselt
Version: 0.6.0.6
Release: 1%{?dist}
Summary: CUDA Library for Sparse Matrix-Matrix Multiplication
License: NVIDIA License
URL: https://docs.nvidia.com/cuda/cusparselt/index.html
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cusparselt/redist/libcusparse_lt/linux-x86_64/libcusparse_lt-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cusparselt/redist/libcusparse_lt/linux-sbsa/libcusparse_lt-linux-sbsa-%{version}-archive.tar.xz
Conflicts: %{name}0 < %{?epoch:%{epoch}:}%{version}-%{release}
%description
NVIDIA cuSPARSELt is a high-performance CUDA library dedicated to general
matrix-matrix operations in which at least one operand is a sparse matrix.
The cuSPARSELt APIs allow flexibility in the algorithm/operation selection,
epilogue, and matrix characteristics, including memory layout, alignment, and
data types.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: cuda-devel%{?_isa}
Conflicts: %{name}-devel < %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use cuSPARSELt.
%package static
Summary: Static libraries for %{name}
Requires: %{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
Static libraries for cuSPARSELt.
%prep
%ifarch x86_64
%setup -q -n libcusparse_lt-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n libcusparse_lt-linux-sbsa-%{version}-archive
%endif
%build
# Nothing to build
%install
mkdir -p %{buildroot}%{_libdir}/
cp -a lib/libcusparseLt.so* %{buildroot}%{_libdir}/
chmod 755 %{buildroot}%{_libdir}/*.so*
install -p -m0644 lib/libcusparseLt_static.a %{buildroot}%{_libdir}/
mkdir -p %{buildroot}%{_includedir}/
install -p -m0644 include/cusparseLt.h %{buildroot}%{_includedir}/
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libcusparseLt.so.*
%files devel
%{_includedir}/cusparseLt.h
%{_libdir}/libcusparseLt.so
%files static
%{_libdir}/libcusparseLt_static.a
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libnvfatbin.spec"
}
}
@@ -0,0 +1,92 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libnvfatbin
Epoch: 1
Version: 12.6.77
Release: 1%{?dist}
Summary: CUDA Fatbin Creator API
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvfatbin.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
The Fatbin Creator APIs are a set of APIs which can be used at runtime to
combine multiple CUDA objects into one CUDA fat binary (fatbin).
The functionality in this library is similar to the fatbinary offline tool in
the CUDA toolkit, with the following advantages:
- Support for runtime fatbin creation.
- The clients get fine grain control and can specify separate options for each
fatbinary.
- Supports direct input from memory, rather than requiring inputs be written to
files.
%package devel
Summary: Development files for CUDA Fatbin Creator API
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the CUDA Fatbin Creator API.
%package static
Summary: Static libraries for CUDA Fatbin Creator API.
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for CUDA Fatbin Creator API.
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libnvfatbin.so.*
%files devel
%{_includedir}/nvFatbin.h
%{_libdir}/libnvfatbin.so
%{_libdir}/pkgconfig/nvfatbin.pc
%files static
%{_libdir}/libnvfatbin_static.a
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nvjpeg
Description: NVIDIA JPEG decoder
Version: CUDA_VERSION
Libs: -L${libdir} -lnvjpeg
Cflags: -I${includedir}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "libnvjpeg.spec"
}
}
+87
View File
@@ -0,0 +1,87 @@
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: libnvjpeg
Epoch: 1
Version: 12.3.3.54
Release: 1%{?dist}
Summary: CUDA NVIDIA JPEG decoder (nvJPEG)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-x86_64/%{name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{name}/linux-sbsa/%{name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvjpeg.pc
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
%description
nvJPEG is a high-performance GPU-accelerated library for JPEG decoding. nvJPEG
supports decoding of single and batched images, color space conversion, multiple
phase decoding, and hybrid decoding using both CPU and GPU. Applications that
rely on nvJPEG for decoding deliver higher throughput and lower latency JPEG
decode compared CPU-only decoding.
%package devel
Summary: Development files for CUDA NVIDIA JPEG decoder (nvJPEG)
Requires: %{name}%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: %{name}-devel-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
%description devel
This package provides development files for the CUDA NVIDIA JPEG decoder
(nvJPEG).
%package static
Summary: Static libraries for CUDA NVIDIA JPEG decoder (nvJPEG)
Requires: %{name}-devel%{_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description static
This package contains static libraries for CUDA NVIDIA JPEG decoder (nvJPEG).
%prep
%ifarch x86_64
%setup -q -n %{name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
cp -fr include/* %{buildroot}%{_includedir}/
cp -fr lib/lib* %{buildroot}%{_libdir}/
cp -fr %{SOURCE3} %{buildroot}/%{_libdir}/pkgconfig/
# Set proper variables
sed -i \
-e 's|CUDA_VERSION|%{version}|g' \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}|g' \
%{buildroot}/%{_libdir}/pkgconfig/*.pc
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_libdir}/libnvjpeg.so.*
%files devel
%{_includedir}/nvjpeg.h
%{_libdir}/libnvjpeg.so
%{_libdir}/pkgconfig/nvjpeg.pc
%files static
%{_libdir}/libnvjpeg_static.a
%changelog
%autochangelog
+8
View File
@@ -0,0 +1,8 @@
libdir=LIBDIR
includedir=INCLUDE_DIR
Name: nvjpeg
Description: NVIDIA JPEG decoder
Version: CUDA_VERSION
Libs: -L${libdir} -lnvjpeg
Cflags: -I${includedir}
+4 -2
View File
@@ -10,7 +10,9 @@ repo_gpgcheck=1
enabled=1
enabled_metadata=1
countme=1
priority=150
# Since Terra Extras replaces Fedora packages and is optional, it should have precedence over Fedora packages.
# see #2882
priority=80
[terra-extras-source]
name=Terra $releasever (Extras) - Source
@@ -23,4 +25,4 @@ gpgkey=https://repos.fyralabs.com/terra$releasever-extras-source/key.asc
repo_gpgcheck=1
enabled=0
enabled_metadata=0
priority=150
priority=80