1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-19 00:30:30 +02:00
Commit Graph

26 Commits

Author SHA1 Message Date
Cayetano Santos
e13a228bcb gnu: Add rocm-hip-cpu.
* gnu/packages/rocm.scm (rocm-hip-cpu): New variable.

Change-Id: I0b459ab0fe4b2e7f6835b906d178488fcb702a99
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-09-03 20:43:28 +02:00
Cayetano Santos
4c0e7c296d gnu: rocm-device-libs: Disable tests.
* gnu/packages/rocm.scm (rocm-device-libs)[arguments]: Disable tests.  Use
g-expressions.
[home-page]: Update.

Change-Id: Ic39e3ac45573fc534282b2592ff9143fdf08d566
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2025-08-05 12:39:23 -04:00
Cayetano Santos
1dda62cce0 gnu: rocm-cmake: Update URLs.
* gnu/packages/rocm.scm (rocm-cmake)[source, home-page]: Update URLs.

Change-Id: Ifdde1fbd05c3d239b9a58b80d9f81c30d3eb82ee
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2025-08-05 12:39:22 -04:00
Cayetano Santos
0394e7f9e8 gnu: %rocm-llvm-origin: Update URL.
* gnu/packages/rocm.scm (%rocm-llvm-origin)[origin]: Update URL.

Change-Id: I84522e44f407aedaa21992d85258a5476dc08826
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2025-08-05 12:39:19 -04:00
John Kehayias
d8dc8d856a gnu: rocm: Update to 6.4.2.
This commit updates all of the ROCm packages, including llvm-for-rocm, to the
latest version, 6.4.2.  An exception is roct-thunk-interface which is
deprecated upstream, but unclear what the replacement is.  It does build from
the last version, 6.2.4, which is what it is updated to here.

Several packages are now in the same repository as the ROCm LLVM fork, so they
share the same origin (repeated in (gnu packages rocm) from llvm-for-rocm
in (gnu packages llvm) as using package-source did not resolve).

* gnu/packages/llvm.scm (llvm-for-rocm): Update to 6.4.2.  Inherit from
llvm-19.
[source]: Update URL.
[arguments]: Correct spacing of configure-flags.
* gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update.
* gnu/packages/patches/rocm-bandwidth-test-5.5.0-fix-includes.patch,
gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch: Remove files.
* gnu/packages/rocm.scm (%rocm-version): Update to 6.4.2.
(%rocm-llvm-origin): New variable.
(rocm-cmake)[home-page]: Update.
(rocm-device-libs)[source]: Use %rocm-llvm-origin.
[arguments]: Add build-type.  Add chdir phase.
[home-page]: Update.
(rocm-comgr)[source]: Use %rocm-llvm-origin.  Remove patch.
[arguments]: Add build-type.  Rename chdir phase to prepare-to build, setting
ROCM_PATH.
[inputs]: Move llvm-for-rocm from here ...
[native-inputs]: ... to here.  Add python.
[home-page]: Update.
(roct-thunk-interface): Update to 6.2.4.
[source, home-page]: Update URL.
(rocr-runtime)[source]: Update URL.
[arguments]: Add build-type.  Update and simplify add-rocm-device-lib-path
phase.
[inputs]: Change libelf to libelf-shared.
[home-page]: Update.
(rocclr-src): Remove variable.
(rocm-opencl-runtime)[home-page]: Update.
[source]{patches}: Add patch (that was in rocclr-src before).
[arguments]: Add build-type.  Update configure-flags.  Add no-os-release
phase.
(rocminfo)[source, home-page]: Update URL.
(rocm-bandwidth-test)[source]: Update URL.  Remove patch.
[home-page]: Update.

* gnu/local.mk (dist_patch_DATA): Remove patches.

Change-Id: I2157255a9546110ac683c12c131a330402e2fd93
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-08-03 16:40:08 +02:00
Gabriel Wicki
5530282655 gnu: Fix whitespace issues in various descriptions.
This mainly addresses `double-space after sentence end period' and `trailing
white space' issues.

* gnu/packages/audio.scm (ecasound): Fix description.
* gnu/packages/axoloti.scm (ksoloti-runtime, ksoloti-patcher): Fix
description.
* gnu/packages/bioinformatics.scm (trf, ghc-int-interval-map): Fix
description.
* gnu/packages/chez.scm (chez-scheme, chez-scheme-bootstrap-bootfiles): Fix
description.
* gnu/packages/code.scm (cscope): Fix description.
* gnu/packages/compression.scm (c-blosc): Fix description.
* gnu/packages/connman.scm (connman): Fix description.
* gnu/packages/crypto.scm (libxcrypt): Fix description.
* gnu/packages/display-managers.scm (abstractdark-sddm-theme): Fix
description.
* gnu/packages/docker.scm (docker-registry): Fix description.
* gnu/packages/freedesktop.scm (xdg-user-dirs): Fix description.
* gnu/packages/game-development.scm (deutex, grfcodec): Fix description.
* gnu/packages/games.scm (chroma): Fix description.
* gnu/packages/geo.scm (xygrib): Fix description.
* gnu/packages/gnunet.scm (gnunet-scheme): Fix description.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-block-format): Fix description.
* gnu/packages/kodi.scm (fstrcmp): Fix description.
* gnu/packages/machine-learning.scm (vosk-api): Fix description.
* gnu/packages/messaging.scm (biboumi): Fix description.
* gnu/packages/music.scm (sooperlooper, samplebrain): Fix description.
* gnu/packages/perl.scm (perl-file-readbackwards): Fix description.
* gnu/packages/rocm.scm (rocm-bandwidth-test): Fix description.
* gnu/packages/scanner.scm (sane-airscan): Fix description.
* gnu/packages/security-token.scm (pkcs11-helper): Fix description.
* gnu/packages/shellutils.scm (shell-functools): Fix description.
* gnu/packages/textutils.scm (catdoc): Fix description.
* gnu/packages/tor.scm (tor): Fix description.
* gnu/packages/xdisorg.scm (xftwidth, xwallpaper): Fix description.
* gnu/packages/xfce.scm (xfce4-volumed-pulse): Fix description.

Change-Id: I911836d66eb780c0fa279e3aebf9d7fbd53bf00a
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-01-05 15:38:04 -08:00
John Kehayias
15f9870eb3 gnu: rocm: Update to 5.6.0.
Update all of the ROCm packages at the same time as they share a version
number and should be upgraded together, including llvm-for-rocm.

* gnu/packages/llvm.scm (llvm-for-rocm): Update to 5.6.0.
[source]{patches}: Remove unneeded patches (linkdl and remove-isystem-usr-include).
* gnu/packages/rocm.scm (rocm-cmake, roct-thunk-interface): Update
to 5.6.0.
(rocclr-src): Update to 5.6.0.
[source]{patches}: Add enable-gfx800 patch.
(rocm-device-libs):  Update to 5.6.0.
[inputs]: Update style.
(rocm-comgr): Update to 5.6.0.
[inputs]: Remove lld.  Update style.
(rocr-runtime): Update to 5.6.0.
[arguments]: Use gexps.  Remove configure-flags.  Add add-rocm-device-lib-path
phase.
[inputs]: Add libdrm.  Update style.
[native-inputs]: Add pkg-config.  Update style.
(rocm-opencl-runtime): Update to 5.6.0.
[source]{patches}: Remove noopencl patch.
[arguments]{configure-flags}: Add BUILD_ICD=OFF and
FILE_REORG_BACKWARD_COMPATIBILITY=OFF flags.
[inputs]: Add opencl-headers.
(rocminfo): Update to 5.6.0.
[arguments]: Use gexps.  Use search-input-file instead of assoc-ref and which.
(rocm-bandwidth-test): Update to 5.6.0.
[source]{patches}: Add fix-includes patch.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update patches.
* gnu/packages/patches/llvm-roc-4.0.0-remove-isystem-usr-include.patch,
gnu/packages/patches/llvm-roc-5.0.0-linkdl.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: Delete files.
* gnu/packages/patches/rocm-bandwidth-test-5.5.0-fix-includes.patch,
gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch: New files.
* gnu/local.mk (dist_patch_DATA): Update patches.
2023-07-11 12:21:00 -04:00
Lars-Dominik Braun
b7c99f2b88 gnu: rocclr-4: Remove package.
Not useful on its own after upgrading to ROCm 5 in commit
01444b297bb3ed28bb33cd01604aadb98bb65333.

* gnu/packages/rocm.scm (rocclr-4): Remove variable.
2022-06-28 12:27:42 +02:00
John Kehayias
67c30ff8ad gnu: rocm: Update to 5.1.3.
All packages updated at the same time as they have a shared version. rocclr is
no longer a stand-alone package, so the previous version is kept as rocclr-4
and the current version is just the source, rocclr-src, needed by rocm-opencl-runtime.

* gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: Update patches.
* gnu/packages/rocm.scm (rocm-cmake, rocm-device-libs, rocm-comgr,
roct-thunk-interface, rocr-runtime, rocm-opencl-runtime, rocminfo,
rocm-bandwidth-test): Update to 5.1.3.
(roct-thunk-interface)[inputs]: Add libdrm.
[native-inputs]: Add gcc:lib and pkg-config.
(rocclr-src): New variable.
(rocclr-4): New variable (previous version of the package).
(rocm-opencl-runtime)[source]: Remove obsolete patches.
[arguments]: Rewrite with gexps. Add needed #:configure-flags.
[inputs]: Remove rocclr, add numactl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
Ludovic Courtès
8394619bac gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Ludovic Courtès
e11830d36e gnu: llvm-for-rocm: Move to llvm.scm.
This removes a cross-module top-level reference, which could lead to
build errors when importing (gnu packages rocm) in another module.

* gnu/packages/rocm.scm (llvm-for-rocm): Move to...
* gnu/packages/llvm.scm (llvm-for-rocm): ... here.
2021-09-10 17:30:54 +02:00
Lars-Dominik Braun
4d1157fca7 gnu: ocl-icd: Replace with opencl-icd-loader.
ocl-icd’s project page is dead and the source code is unavailable.

* gnu/packages/opencl.scm (ocl-icd): Alias to opencl-icd-loader.
(clinfo)[inputs]: Use opencl-icd-loader.
(beignet)[inputs]: Dito.
(pocl)[inputs]: Dito.
(python-pyopencl)[inputs]: Dito.
* gnu/packages/games.scm (leela-zero)[inputs]: Dito.
* gnu/packages/photo.scm (darktable)[inputs]: Dito.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[inputs]: Dito.
2021-08-27 20:50:56 +02:00
Ludovic Courtès
168d107abf gnu: rocm-opencl-runtime: Shorten patch file name.
This appeases 'guix lint -c patch-file-names'.

* gnu/packages/patches/rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch:
Rename to...
* gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch: ... this.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Likewise.
2021-08-11 16:35:28 +02:00
Ludovic Courtès
9b54559e23 gnu: rocm-opencl-runtime: Use a non-redirecting source URL.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Use 'home-page'
as the URL; since it lacks the ".git" prefix, that placates 'guix lint'.
2021-08-11 16:35:28 +02:00
Lars-Dominik Braun
0a379de324 gnu: rocminfo: Add description.
* gnu/packages/rocm.scm (rocminfo) [description]: Add it.
2021-08-09 09:09:24 +02:00
Lars-Dominik Braun
db7d197b30 gnu: rocminfo: Static references to lsmod and grep.
Fixes usage in a pure environment.

* gnu/packages/rocm.scm (rocminfo) [arguments]: Add #:phases.
2021-08-09 09:09:22 +02:00
Lars-Dominik Braun
339762235d gnu: Add rocm-bandwidth-test.
* gnu/packages/rocm.scm (rocm-bandwidth-test): New variable.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
91ce17a532 gnu: Add rocminfo.
* gnu/packages/rocm.scm (rocminfo): New variable.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
c0f10a5dd4 gnu: Add rocm-opencl-runtime.
* gnu/packages/rocm.scm (rocm-opencl-runtime): New variable.
* gnu/packages/patches/rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
7221722dd5 gnu: Add rocclr.
* gnu/packages/rocm.scm (rocclr): New variable.
2021-08-08 16:47:56 +02:00
Lars-Dominik Braun
a85eff8171 gnu: Add rocr-runtime.
* gnu/packages/rocm.scm (rocr-runtime): New variable.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun
dc5755c411 gnu: Add roct-thunk-interface.
* gnu/packages/rocm.scm (roct-thunk-interface): New variable.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun
9c083e7063 gnu: Add rocm-comgr.
* gnu/packages/rocm.scm (rocm-comgr): New variable.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun
884334afec gnu: Add rocm-device-libs.
* gnu/packages/rocm.scm (rocm-device-libs): New variable.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun
c5ee2cf72a gnu: Add llvm-for-rocm.
* gnu/packages/rocm.scm (llvm-for-rocm): New variable.
* gnu/packages/patches/llvm-roc-3.0.0-add_libraries.patch,
gnu/packages/patches/llvm-roc-4.0.0-remove-isystem-usr-include.patch,
gnu/packages/patches/llvm-roc-4.2.0-add_Object.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-08-08 16:47:55 +02:00
Lars-Dominik Braun
df90cb1d5c gnu: Add rocm-cmake.
* gnu/packages/rocm.scm (%rocm-version, rocm-cmake): New variables.
2021-08-08 16:47:52 +02:00