mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: llvm-18: Fix building on i686-linux.
* gnu/packages/llvm.scm (llvm-18)[arguments]: When building for i686-linux delete the 'make-dynamic-linker-cache phase. Change-Id: Icbbbccf74ad39d4f8d0270cc213f978c487edb75
This commit is contained in:
parent
48934f0c2f
commit
ab41f5ec1c
1 changed files with 9 additions and 1 deletions
|
@ -1476,7 +1476,15 @@ (define-public llvm-18
|
||||||
(package
|
(package
|
||||||
(inherit llvm-15)
|
(inherit llvm-15)
|
||||||
(version "18.1.8")
|
(version "18.1.8")
|
||||||
(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-18
|
(define-public clang-runtime-18
|
||||||
(clang-runtime-from-llvm llvm-18))
|
(clang-runtime-from-llvm llvm-18))
|
||||||
|
|
Loading…
Reference in a new issue