unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74433] [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11.
@ 2024-11-19  7:26 Nicolas Graves via Guix-patches via
  2024-11-20 12:09 ` bug#74433: " Z572
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-11-19  7:26 UTC (permalink / raw)
  To: 74433; +Cc: Nicolas Graves

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74433: [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11.
  2024-11-19  7:26 [bug#74433] [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11 Nicolas Graves via Guix-patches via
@ 2024-11-20 12:09 ` Z572
  0 siblings, 0 replies; 2+ messages in thread
From: Z572 @ 2024-11-20 12:09 UTC (permalink / raw)
  To: Nicolas Graves via Guix-patches via; +Cc: Nicolas Graves, 74433-done

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-20 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19  7:26 [bug#74433] [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11 Nicolas Graves via Guix-patches via
2024-11-20 12:09 ` bug#74433: " Z572

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).