--- Begin Message ---
Subject: |
[PATCH] gnu: clang-runtime: Fix build for versions 10 and 11. |
Date: |
Tue, 19 Nov 2024 08:26:57 +0100 |
* 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#74433] [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11. |
Date: |
Wed, 20 Nov 2024 20:09:20 +0800 |
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:
> * 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.
pushed, closing.
signature.asc
Description: PGP signature
--- End Message ---