From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 74433@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#74433] [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11.
Date: Tue, 19 Nov 2024 08:26:57 +0100 [thread overview]
Message-ID: <20241119072659.12073-1-ngraves@ngraves.fr> (raw)
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[inputs]: Add
libxcrypt for versions 10 and 11.
---
gnu/packages/llvm.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index c6566a3339..e2b8b689ba 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -170,6 +170,9 @@ (define* (clang-runtime-from-llvm llvm
(list llvm)
(if (version>=? version "15")
(list libffi)
+ '())
+ (if (member (version-major version) (list "10" "11"))
+ (list libxcrypt)
'())))
(arguments
`(;; Don't use '-g' during the build to save space.
--
2.46.0
next reply other threads:[~2024-11-19 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 7:26 Nicolas Graves via Guix-patches via [this message]
2024-11-20 12:09 ` bug#74433: [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11 Z572
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241119072659.12073-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=74433@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.