GNU bug report logs - #75051
[PATCH 00/14] Add loongarch64 platform support.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <873216071 <at> qq.com>

Date: Mon, 23 Dec 2024 17:04:01 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Zheng Junjie <873216071 <at> qq.com>
Cc: 75051 <at> debbugs.gnu.org
Subject: [bug#75051] [PATCH 07/14] gnu: readline: Fix cross-compiling to loongarch64.
Date: Fri, 24 Jan 2025 16:50:41 +0100
Zheng Junjie <873216071 <at> qq.com> skribis:

> * gnu/packages/readline.scm (readline)[arguments]: When cross-compiling to
> loongarch64, Add update-config-scripts phase.
> [native-inputs]: When cross-compiling to loongarch64, Add config.
>
> Change-Id: Ie369d53c7f2493a7a65fe592a3671719dee264c0

[...]

> +     (append
> +      (if (and (target-loongarch64?)
> +               (%current-target-system))
> +          (list #:phases
> +                #~(modify-phases %standard-phases
> +                    (add-after 'unpack 'update-config-scripts
> +                      (lambda* (#:key inputs native-inputs #:allow-other-keys)
> +                        ;; Replace outdated config.guess and config.sub.

Since this would be useful even when building natively for loongarch64
(what it becomes possible), I’d write:

  (if (target-loongarch64?) …)

without (%current-target-system).

Same for the following patches.

Ludo’.




This bug report was last modified 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.