summary refs log tree commit diff
path: root/gnu/packages/llvm.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2022-06-28 12:26:23 +0200
committerLars-Dominik Braun <lars@6xq.net>2022-06-28 12:27:42 +0200
commit453b0670a6fa5b608aa0d765f58c17dceb7fe65b (patch)
tree8d9cc463581a61e65b34a602960dd308fef64698 /gnu/packages/llvm.scm
parentb7c99f2b8864cf6b2a736d20255dd47d2c1d79d4 (diff)
downloadguix-453b0670a6fa5b608aa0d765f58c17dceb7fe65b.tar.gz
gnu: llvm-for-rocm: Inherit from llvm-14
* gnu/packages/llvm.scm (llvm-for-rocm)[arguments]: Inherit from llvm-14
instead of llvm-12 and use g-exp for #:configure-flags.
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r--gnu/packages/llvm.scm9
1 files changed, 2 insertions, 7 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 6e12c3ebde..ffa156af15 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1158,14 +1158,9 @@ of programming tools as well as libraries with equivalent functionality.")
                (search-patches "llvm-roc-5.0.0-linkdl.patch"
                                "llvm-roc-4.0.0-remove-isystem-usr-include.patch"))))
     (arguments
-     (substitute-keyword-arguments (package-arguments llvm-12)
-       ((#:phases phases '%standard-phases)
-        `(modify-phases ,phases
-           (add-after 'unpack 'chdir
-             (lambda _
-               (chdir "llvm")))))
+     (substitute-keyword-arguments (package-arguments llvm-14)
        ((#:configure-flags flags)
-        ''("-DLLVM_ENABLE_PROJECTS=llvm;clang;lld"
+        #~(list"-DLLVM_ENABLE_PROJECTS=llvm;clang;lld"
            "-DLLVM_TARGETS_TO_BUILD=AMDGPU;X86"
            "-DCMAKE_SKIP_BUILD_RPATH=FALSE"
            "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"