summaryrefslogtreecommitdiff
path: root/gnu/packages/rocm.scm
AgeCommit message (Collapse)Author
2023-07-11gnu: rocm: Update to 5.6.0.John Kehayias
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.
2022-06-28gnu: rocclr-4: Remove package.Lars-Dominik Braun
Not useful on its own after upgrading to ROCm 5 in commit 01444b297bb3ed28bb33cd01604aadb98bb65333. * gnu/packages/rocm.scm (rocclr-4): Remove variable.
2022-06-16gnu: rocm: Update to 5.1.3.John Kehayias
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>
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-09-10gnu: llvm-for-rocm: Move to llvm.scm.Ludovic Courtès
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-08-27gnu: ocl-icd: Replace with opencl-icd-loader.Lars-Dominik Braun
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-11gnu: rocm-opencl-runtime: Shorten patch file name.Ludovic Courtès
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-11gnu: rocm-opencl-runtime: Use a non-redirecting source URL.Ludovic Courtès
* 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-09gnu: rocminfo: Add description.Lars-Dominik Braun
* gnu/packages/rocm.scm (rocminfo) [description]: Add it.
2021-08-09gnu: rocminfo: Static references to lsmod and grep.Lars-Dominik Braun
Fixes usage in a pure environment. * gnu/packages/rocm.scm (rocminfo) [arguments]: Add #:phases.
2021-08-08gnu: Add rocm-bandwidth-test.Lars-Dominik Braun
* gnu/packages/rocm.scm (rocm-bandwidth-test): New variable.
2021-08-08gnu: Add rocminfo.Lars-Dominik Braun
* gnu/packages/rocm.scm (rocminfo): New variable.
2021-08-08gnu: Add rocm-opencl-runtime.Lars-Dominik Braun
* 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-08gnu: Add rocclr.Lars-Dominik Braun
* gnu/packages/rocm.scm (rocclr): New variable.
2021-08-08gnu: Add rocr-runtime.Lars-Dominik Braun
* gnu/packages/rocm.scm (rocr-runtime): New variable.
2021-08-08gnu: Add roct-thunk-interface.Lars-Dominik Braun
* gnu/packages/rocm.scm (roct-thunk-interface): New variable.
2021-08-08gnu: Add rocm-comgr.Lars-Dominik Braun
* 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-08gnu: Add rocm-device-libs.Lars-Dominik Braun
* gnu/packages/rocm.scm (rocm-device-libs): New variable.
2021-08-08gnu: Add llvm-for-rocm.Lars-Dominik Braun
* 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-08gnu: Add rocm-cmake.Lars-Dominik Braun
* gnu/packages/rocm.scm (%rocm-version, rocm-cmake): New variables.