mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-30 09:08:53 +00:00
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "cuda",
|
|
"build-options": {
|
|
"no_debuginfo": true,
|
|
"prepend-ld-library-path": "/app/lib:/app/lib64"
|
|
},
|
|
"buildsystem": "simple",
|
|
"cleanup": [
|
|
"*"
|
|
],
|
|
"build-commands": [
|
|
"chmod u+x ./cuda.run",
|
|
"./cuda.run --silent --toolkit --toolkitpath=$FLATPAK_DEST/cuda --no-opengl-libs --no-man-page --no-drm --tmpdir=$FLATPAK_BUILDER_BUILDDIR || { echo '=== cuda-installer.log ==='; cat /tmp/cuda-installer.log 2>/dev/null; true; }",
|
|
"test -f $FLATPAK_DEST/cuda/bin/nvcc",
|
|
"rm -rf $FLATPAK_DEST/cuda/nsight-systems-*",
|
|
"rm ./cuda.run"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libxml2",
|
|
"config-opts": [
|
|
"--without-python",
|
|
"--without-debug",
|
|
"--without-history"
|
|
],
|
|
"cleanup": [
|
|
"/share",
|
|
"/include",
|
|
"/bin"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"x-renovate": {
|
|
"datasource": "github-tags",
|
|
"depName": "GNOME/libxml2",
|
|
"versioning": "regex:^v(?<major>[0-9]+)[.](?<minor>[0-9]+)[.](?<patch>[0-9]+)$"
|
|
},
|
|
"url": "https://github.com/GNOME/libxml2.git",
|
|
"tag": "v2.13.9",
|
|
"commit": "04af2cabb9f859c198b8a553c028a87481199410",
|
|
"x-checker-data": {
|
|
"type": "git"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"only-arches": [
|
|
"x86_64"
|
|
],
|
|
"x-renovate": {
|
|
"depName": "cuda",
|
|
"enabled": false
|
|
},
|
|
"url": "https://developer.download.nvidia.com/compute/cuda/13.2.0/local_installers/cuda_13.2.0_595.45.04_linux.run",
|
|
"sha256": "c599b651582c8f345ebde7bcf089b7dcfcd8afd7d3ea7f50525698c563a239d7",
|
|
"dest-filename": "cuda.run",
|
|
"x-checker-data": {
|
|
"type": "html",
|
|
"url": "https://developer.nvidia.com/cuda-downloads",
|
|
"pattern": "(https://developer[.]download[.]nvidia[.]com/compute/cuda/([0-9]+[.][0-9]+[.][0-9]+)/local_installers/cuda_[0-9]+[.][0-9]+[.][0-9]+(?:_[0-9.]+)?_linux[.]run)"
|
|
}
|
|
},
|
|
{
|
|
"type": "file",
|
|
"only-arches": [
|
|
"aarch64"
|
|
],
|
|
"x-renovate": {
|
|
"depName": "cuda",
|
|
"enabled": false
|
|
},
|
|
"url": "https://developer.download.nvidia.com/compute/cuda/13.2.0/local_installers/cuda_13.2.0_595.45.04_linux_sbsa.run",
|
|
"sha256": "9684ebc64988f71ef1c70846cc9d158fb27950c1355bf37c8795c346346b6a72",
|
|
"dest-filename": "cuda.run",
|
|
"x-checker-data": {
|
|
"type": "html",
|
|
"url": "https://developer.nvidia.com/cuda-downloads",
|
|
"pattern": "(https://developer[.]download[.]nvidia[.]com/compute/cuda/([0-9]+[.][0-9]+[.][0-9]+)/local_installers/cuda_[0-9]+[.][0-9]+[.][0-9]+(?:_[0-9.]+)?_linux_sbsa[.]run)"
|
|
}
|
|
}
|
|
]
|
|
}
|