diff options
| author | David Elsing <david.elsing@posteo.net> | 2026-02-03 21:33:21 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-02-10 23:46:31 +0100 |
| commit | e156af4eb5828c19477d8f4736cdb8736c6a50a9 (patch) | |
| tree | 793151294c325feb31546addb7d54778260d517e | |
| parent | adacb69e894ba674793ed3025d55b8e6eff95f9d (diff) | |
gnu: Update ROCm to 7.1.1
* gnu/packages/llvm.scm (%rocm-llvm-version): Bump to 7.1.1.
(make-llvm-rocm): Update hash.
* gnu/package/rocm.scm (%rocm-version): Bump to 7.1.1.
(%rocm-systems-origin): Update hash.
(rocm-bandwidth-test): Update hash.
(%e-smi-version-for-rocm): Bump to 4.2.
(e-smi-for-ami-smi): Update hash.
(amd-smi): Update to 26.2.0.
[native-inputs]: Add pkg-config.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/llvm.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/rocm.scm | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index c9760330495..12018310d56 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm | |||
| @@ -1294,7 +1294,7 @@ Library.") | |||
| 1294 | 1294 | ||
| 1295 | ;; This must match '%rocm-version' in rocm.scm. They cannot be shared because | 1295 | ;; This must match '%rocm-version' in rocm.scm. They cannot be shared because |
| 1296 | ;; toplevel variables cannot be called from one file to another. | 1296 | ;; toplevel variables cannot be called from one file to another. |
| 1297 | (define %rocm-llvm-version "7.1.0") | 1297 | (define %rocm-llvm-version "7.1.1") |
| 1298 | 1298 | ||
| 1299 | (define %clang-rocm-supported-gpu-targets | 1299 | (define %clang-rocm-supported-gpu-targets |
| 1300 | ;; List of supported GPU targets for the current version of clang-rocm. | 1300 | ;; List of supported GPU targets for the current version of clang-rocm. |
| @@ -1394,7 +1394,7 @@ Library.") | |||
| 1394 | (file-name (git-file-name "rocm-llvm" %rocm-llvm-version)) | 1394 | (file-name (git-file-name "rocm-llvm" %rocm-llvm-version)) |
| 1395 | (sha256 | 1395 | (sha256 |
| 1396 | (base32 | 1396 | (base32 |
| 1397 | "1nwbj2cz99psgq9s9l4wbsxj41l2d2dga5l9rw9jndk05jsn4n7s")) | 1397 | "0ni9s9sd8hlgmj34nkqn96kmbs6xlmrcsw8x5b15cisy2lhjgy89")) |
| 1398 | ;; Some of these patches require a further dynamic substitution during | 1398 | ;; Some of these patches require a further dynamic substitution during |
| 1399 | ;; package build. Therefore, it is important to derive from the base | 1399 | ;; package build. Therefore, it is important to derive from the base |
| 1400 | ;; packages or to duplicate such substitutions. Additionally, some of | 1400 | ;; packages or to duplicate such substitutions. Additionally, some of |
diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm index 13d6008f4bf..baa04b9e016 100644 --- a/gnu/packages/rocm.scm +++ b/gnu/packages/rocm.scm | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; The components are tightly integrated and can only be upgraded as a unit. If | 51 | ;; The components are tightly integrated and can only be upgraded as a unit. If |
| 52 | ;; you want to upgrade ROCm, bump this version number and update hashes below. | 52 | ;; you want to upgrade ROCm, bump this version number and update hashes below. |
| 53 | 53 | ||
| 54 | (define %rocm-version "7.1.0") | 54 | (define %rocm-version "7.1.1") |
| 55 | 55 | ||
| 56 | ;; ROCm-systems derived packages belong here. | 56 | ;; ROCm-systems derived packages belong here. |
| 57 | 57 | ||
| @@ -65,7 +65,7 @@ | |||
| 65 | (file-name (git-file-name "rocm-systems" %rocm-version)) | 65 | (file-name (git-file-name "rocm-systems" %rocm-version)) |
| 66 | (sha256 | 66 | (sha256 |
| 67 | (base32 | 67 | (base32 |
| 68 | "16h88j5440csz69s7gpcbmiwn72bz4zjlkdm2c7wcyp73m2knnm2")) | 68 | "056dwpkddjj5gq4xys1vbca0znq4qlhqnfdsgp1y9c5y9avqfkxx")) |
| 69 | (patches | 69 | (patches |
| 70 | (search-patches | 70 | (search-patches |
| 71 | "rocclr-5.6.0-enable-gfx800.patch" | 71 | "rocclr-5.6.0-enable-gfx800.patch" |
| @@ -334,7 +334,7 @@ particular CPU vendor or architecture.") | |||
| 334 | (file-name (git-file-name name version)) | 334 | (file-name (git-file-name name version)) |
| 335 | (sha256 | 335 | (sha256 |
| 336 | (base32 | 336 | (base32 |
| 337 | "09ssn8lkjaypq8qy3v28z25qvxsyha4cv4dk6xmfxmgfy8252yqy")) | 337 | "03icj943x9qhilw112qbp8lc974f949qz0hc7gn1iv8q9zn2pcp8")) |
| 338 | (patches | 338 | (patches |
| 339 | (search-patches | 339 | (search-patches |
| 340 | "rocm-bandwidth-test-take-default-gpus-from-environment.patch" | 340 | "rocm-bandwidth-test-take-default-gpus-from-environment.patch" |
| @@ -463,16 +463,16 @@ the system in terms of memory pools and their agents.") | |||
| 463 | (file-name (git-file-name "esmi_ib_library" version)) | 463 | (file-name (git-file-name "esmi_ib_library" version)) |
| 464 | (sha256 hash))) | 464 | (sha256 hash))) |
| 465 | 465 | ||
| 466 | (define %e-smi-version-for-rocm "esmi_pkg_ver-4.1.2") | 466 | (define %e-smi-version-for-rocm "esmi_pkg_ver-4.2") |
| 467 | (define e-smi-for-amd-smi | 467 | (define e-smi-for-amd-smi |
| 468 | (make-esmi-source | 468 | (make-esmi-source |
| 469 | %e-smi-version-for-rocm | 469 | %e-smi-version-for-rocm |
| 470 | (base32 "1lj35gsa5pgfpsv0bl5y3xpk3xhk8kgsi4nkl2kxj0gsiyny8gf2"))) | 470 | (base32 "0z7yarzf1yzmbjicamcagxj0w1zlnwpg7qa51vp46fq075xpscbk"))) |
| 471 | 471 | ||
| 472 | (define-public amd-smi | 472 | (define-public amd-smi |
| 473 | (package | 473 | (package |
| 474 | (name "amd-smi") | 474 | (name "amd-smi") |
| 475 | (version "25.5.1") | 475 | (version "26.2.0") |
| 476 | (source (origin | 476 | (source (origin |
| 477 | (method git-fetch) | 477 | (method git-fetch) |
| 478 | (uri (git-reference | 478 | (uri (git-reference |
| @@ -481,7 +481,7 @@ the system in terms of memory pools and their agents.") | |||
| 481 | (file-name (git-file-name name version)) | 481 | (file-name (git-file-name name version)) |
| 482 | (sha256 | 482 | (sha256 |
| 483 | (base32 | 483 | (base32 |
| 484 | "0cfsj91pwzvc3c306ivvkzp819g4mxr88h091r2hr4f6h4xvvvgl")) | 484 | "10qjisjz4shsznh61in6zjjzsag49mdzj1ahclsyxhh5qvxvfrq4")) |
| 485 | (patches | 485 | (patches |
| 486 | (search-patches "amd-smi-python.patch")))) | 486 | (search-patches "amd-smi-python.patch")))) |
| 487 | (build-system cmake-build-system) | 487 | (build-system cmake-build-system) |
| @@ -521,6 +521,7 @@ the system in terms of memory pools and their agents.") | |||
| 521 | (inputs (list libdrm | 521 | (inputs (list libdrm |
| 522 | python | 522 | python |
| 523 | e-smi-for-amd-smi)) | 523 | e-smi-for-amd-smi)) |
| 524 | (native-inputs (list pkg-config)) | ||
| 524 | (home-page "https://github.com/ROCm/amdsmi") | 525 | (home-page "https://github.com/ROCm/amdsmi") |
| 525 | (synopsis "ROCm library and application for managing AMD devices") | 526 | (synopsis "ROCm library and application for managing AMD devices") |
| 526 | (description "The AMD @acronym{SMI,System Management Interface} allows | 527 | (description "The AMD @acronym{SMI,System Management Interface} allows |
