unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Z572 <zhengjunjie@iscas.ac.cn>
To: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
Cc: Nicolas Graves <ngraves@ngraves.fr>, 74433-done@debbugs.gnu.org
Subject: bug#74433: [PATCH] gnu: clang-runtime: Fix build for versions 10 and 11.
Date: Wed, 20 Nov 2024 20:09:20 +0800	[thread overview]
Message-ID: <87ed362jkf.fsf@iscas.ac.cn> (raw)
In-Reply-To: <20241119072659.12073-1-ngraves@ngraves.fr> (Nicolas Graves via Guix-patches via's message of "Tue, 19 Nov 2024 08:26:57 +0100")

[-- 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 --]

      reply	other threads:[~2024-11-20 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ed362jkf.fsf@iscas.ac.cn \
    --to=zhengjunjie@iscas.ac.cn \
    --cc=74433-done@debbugs.gnu.org \
    --cc=guix-patches@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 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).