mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: llvm-17: Fix building on i686-linux.
* gnu/packages/llvm.scm (llvm-17)[arguments]: When building for i686-linux delete the 'make-dynamic-linker-cache phase. Change-Id: I0745d9b1bda47ad4ad10680234c9257215de1c4b
This commit is contained in:
parent
fc15524d37
commit
48934f0c2f
1 changed files with 9 additions and 1 deletions
|
@ -1434,7 +1434,15 @@ (define-public llvm-17
|
||||||
(package
|
(package
|
||||||
(inherit llvm-15)
|
(inherit llvm-15)
|
||||||
(version "17.0.6")
|
(version "17.0.6")
|
||||||
(source (llvm-monorepo version))))
|
(source (llvm-monorepo version))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments llvm-15)
|
||||||
|
;; The build daemon goes OOM on i686-linux on this phase.
|
||||||
|
((#:phases phases #~'%standard-phases)
|
||||||
|
(if (target-x86-32?)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(delete 'make-dynamic-linker-cache))
|
||||||
|
phases))))))
|
||||||
|
|
||||||
(define-public clang-runtime-17
|
(define-public clang-runtime-17
|
||||||
(clang-runtime-from-llvm llvm-17))
|
(clang-runtime-from-llvm llvm-17))
|
||||||
|
|
Loading…
Reference in a new issue