fangorn/sunshine-qemu
public
ref:bfdafa5fade67fe6610d78f85f329a85310d3b08
build(fedora): fix rawhide build (#4821)
* build(fedora): fix rawhide build
* Patch math_functions by CUDA major; add CUDA-13
Switch math_functions.h patching from Fedora-version logic to CUDA-major selection in spec and build scripts. Add CUDA-13-specific patches for aarch64 and x86_64 and rename the existing patch to cuda-12. Update scripts/linux_build.sh to pick the correct cuda-{12,13}-math_functions.patch, handle missing files gracefully, and add Fedora 45 detection with CUDA 13 defaults.
* Install Fedora development-tools group directly
Replace use of the dev_tools_group variable with the explicit "development-tools" group name when running dnf group install. Also remove redundant dev_tools_group="development-tools" assignments from various Fedora/version and platform:f42 branches to simplify the distro detection logic and avoid relying on the variable.
SHA:
bfdafa5fade67fe6610d78f85f329a85310d3b08
Author:
David Lane <42013603+ReenigneArcher@users.noreply.github.com>
Date:
2026-03-06 20:04
Parents:
49abb16
8 files changed
+349
-202
| Type | ||
|---|---|---|
|
|
packaging/linux/copr/Sunshine.spec | +24 −7 |
|
||
|
|
packaging/linux/patches/aarch64/01-math_functions.patch | +0 −89 |
|
||
|
|
packaging/linux/patches/aarch64/cuda-12-math_functions.patch | +89 −0 |
|
||
|
|
packaging/linux/patches/aarch64/cuda-13-math_functions.patch | +53 −0 |
|
||
|
|
packaging/linux/patches/x86_64/01-math_functions.patch | +0 −89 |
|
||
|
|
packaging/linux/patches/x86_64/cuda-12-math_functions.patch | +89 −0 |
|
||
|
|
packaging/linux/patches/x86_64/cuda-13-math_functions.patch | +53 −0 |
|
||
|
|
scripts/linux_build.sh | +41 −17 |
|
||