From fc15524d371394e538d3e9635ba05aa85c9c7d2c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 30 Jun 2024 09:15:29 +0300 Subject: gnu: clang-15: Fix building on i686-linux. * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building for i686-linux on clang 15 or newer delete the 'make-dynamic-linker-cache phase. Change-Id: I0c8c273ce8eca100a97a9a64a4524558acd7cfbd --- gnu/packages/llvm.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/llvm.scm') diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index e87b88c1e3..7aab2ae8c3 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2018–2022 Marius Bakke ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice -;;; Copyright © 2018, 2021-2023 Efraim Flashner +;;; Copyright © 2018, 2021-2024 Efraim Flashner ;;; Copyright © 2018 Tim Gesthuizen ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2019 Rutger Helling @@ -376,6 +376,11 @@ until LLVM/Clang 14." "add_subdirectory(${LLVM_THIRD_PARTY_DIR}/uni\ ttest third-party/unittest)\n" line)))))) '()) + ;; The build daemon goes OOM on i686-linux on this phase. + ,@(if (and (version>=? version "15") + (target-x86-32?)) + '((delete 'make-dynamic-linker-cache)) + '()) ;; Awkwardly, multiple phases added after the same phase, ;; e.g. unpack, get applied in the reverse order. In other ;; words, adding 'change-directory last means it occurs -- cgit v1.2.3