diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-06-30 09:17:31 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-06-30 09:17:31 +0300 |
commit | ab41f5ec1cf559708165e1cd28e15538e6a197d6 (patch) | |
tree | 2ffba87604510021b4913b89fc2f8a6bbad34920 | |
parent | 48934f0c2f8be63d1070a6e82f62f7d278f4fbdc (diff) | |
download | guix-ab41f5ec1cf559708165e1cd28e15538e6a197d6.tar.gz guix-ab41f5ec1cf559708165e1cd28e15538e6a197d6.zip |
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
-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 55ad9b96f7..2614a403c1 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1476,7 +1476,15 @@ Library.") (package (inherit llvm-15) (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 (clang-runtime-from-llvm llvm-18)) |