* gnu/packages/llvm.scm (%rocm-llvm-version): New variable.
(make-llvm-rocm): New procedure.
(llvm-rocm): New variable.
(make-clang-runtime-rocm): New procedure.
(clang-runtime-rocm): New variable.
(make-clang-rocm): New procedure.
(clang-rocm): New variable.
(rocm-device-libs): New variable.
(rocm-comgr): New variable.
(rocm-hipcc): New variable.
(make-lld-rocm): New procedure.
(lld-rocm): New variable.
* gnu/packages/rocm.scm: Add perl to imports.
(%rocm-version): Update to 7.1.0.
(%rocm-systems-url, %rocm-systems-origin): New variables.
(rocr-runtime): Use %rocm-systems-origin and update build.
(rocm-opencl-runtime): Use %rocm-systems-origin and update build.
(rocm-hip-runtime): New variable.
(rocminfo): Use %rocm-systems-origin and update build.
(%default-amdgpu-targets, %default-amdgpu-targets-property): New variables.
(%amdgpu-targets): New syntax.
(rocm-bandwidth-test): Update and add comprehensive build support.
* gnu/local.mk: Add rocm-bandwidth-test patches.
* gnu/packages/patches/rocm-bandwidth-test-fix-external-packages-search.patch,
gnu/packages/patches/rocm-bandwidth-test-fix-hsa-include-file-lookup.patch,
gnu/packages/patches/rocm-bandwidth-test-take-default-gpus-from-environment.patch:
New files.
* gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update patch paths.
Change-Id: I43f162b9f8ab898e25d8ecbe4ea30be84a29eb0d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
* gnu/packages/llvm.scm (llvm-18)[arguments]: Adjust the tests flag to
skip the tests on powerpc64le-linux.
Change-Id: I2a1c25642b00b29f53be619b72eea27c005f2db8
* gnu/packages/patches/clang-17.0-fix-build-with-gcc-14-on-arm.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/llvm.scm (clang-from-llvm): Treat patches as additional patches
when no hash provided.
(clang-17): Apply the patch.
Change-Id: I2c6580958c6d646703143872bbc59fd390e9cc95
Signed-off-by: Hilton Chain <hako@ultrarare.space>
* gnu/packages/llvm.scm (include-what-you-use): New variable.
Change-Id: Ie843e69eaf4fad6191363d16d46321f623c07670
Signed-off-by: Steve George <steve@futurile.net>
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: When
building clang-runtime-21 or newer use gcc-15.
(%llvm-monorepo-hashes): Add entry for llvm-21.
(llvm-21, clang-runtime-21, clang-21, libomp-21, clang-toolchain-21, lld-21):
New variables.
Change-Id: I0bb32127c913fa567e1c4e2b5b1f0307d60f5e14
Without these dependencies, wllvm cannot compile any code.
* gnu/packages/llvm.scm (wllvm)[inputs]: Add binutils and file.
[arguments]: Add 'fix-paths phase.
Change-Id: I5727e55b889f8cebb1a8b20c5f1fce545b252e77
Signed-off-by: Andreas Enge <andreas@enge.fr>
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:
grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
--exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
The change was automated via:
git grep -l maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
* .mailmap: New entry.
Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
The #:tests? argument has recently been added to make-llvm,
before the tests were enabled for native compilation and
disabled for cross compilation per the default arguments
in cmake-build and cmake-cross-build respectively.
But since this argument has been added, it overrides the
defaults and the test have been enabled on cross compilation,
mistakenly. The tests cannot run when cross compiling.
* gnu/packages/llvm.scm (make-llvm)[arguments]<#:tests?>:
Disable on cross compilation.
Change-Id: I5b3e33e6e9e1574eda5d1b74fe7484f157739dbb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu/packages/llvm.scm (lld-as-ld-wrapper-15): Remove as it's not used on any
package definition anymore.
Change-Id: Ieb1bf46a571fae6cbc8ee3ce8c64567391eed370
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
* gnu/packages/llvm.scm (make-ocaml-llvm)[arguments]<#:tests?>:
Set to #f.
Change-Id: I40c270c0b5a5f201dffb26dadb4d61db75866ce6
Signed-off-by: Andreas Enge <andreas@enge.fr>