mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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.
This commit is contained in:
parent
b7c99f2b88
commit
453b0670a6
1 changed files with 2 additions and 7 deletions
|
@ -1158,14 +1158,9 @@ (define-public llvm-for-rocm
|
|||
(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"
|
||||
|
|
Loading…
Reference in a new issue