me
/
guix
Archived
1
0
Fork 0

gnu: llvm-16: Fix building on i686-linux.

* gnu/packages/llvm.scm (llvm-16)[arguments]: Skip the
make-dynamic-linker-phase on i686-linux.

Change-Id: I38c134d246859d7fc6025e2ed1c3f29d845a7d82
master
Efraim Flashner 2024-06-27 15:18:26 +03:00
parent 428c841918
commit 69f9a43c87
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 1 deletions

View File

@ -1387,7 +1387,15 @@ Library.")
(package (package
(inherit llvm-15) (inherit llvm-15)
(version "16.0.6") (version "16.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-16 (define-public clang-runtime-16
(clang-runtime-from-llvm llvm-16)) (clang-runtime-from-llvm llvm-16))