diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-06-27 15:18:26 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-06-27 16:43:55 +0300 |
commit | 69f9a43c876390996ead2d5bb83d2106d0cacac2 (patch) | |
tree | 370d1cc9e9a286b2ca3e105c73a8e5758dd78ba7 | |
parent | 428c84191884ed1527a8532d06c84db107054dc6 (diff) | |
download | guix-69f9a43c876390996ead2d5bb83d2106d0cacac2.tar guix-69f9a43c876390996ead2d5bb83d2106d0cacac2.tar.gz |
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
-rw-r--r-- | gnu/packages/llvm.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index eceda150b8..e87b88c1e3 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1387,7 +1387,15 @@ Library.") (package (inherit llvm-15) (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 (clang-runtime-from-llvm llvm-16)) |