[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47182] [PATCH 00/18] Add support for powerpc64le-linux (wip-ppc64le
From: |
Chris Marusich |
Subject: |
[bug#47182] [PATCH 00/18] Add support for powerpc64le-linux (wip-ppc64le-for-master) |
Date: |
Thu, 18 Mar 2021 23:22:29 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Efraim Flashner <efraim@flashner.co.il> writes:
> On Wed, Mar 17, 2021 at 11:16:07PM -0700, Chris Marusich wrote:
>> Efraim Flashner <efraim@flashner.co.il> writes:
>>
>> >> #:tests? ,(let ((s (or (%current-target-system)
>> >> (%current-system))))
>> >> (not (or (string-prefix? "aarch64" s)
>> >> - (string-prefix? "mips64" s))))
>> >> + (string-prefix? "mips64" s)
>> >> + (string-prefix? "powerpc64le" s))))
>> >> +
>> >
>> > we can probably change this to use cute in core-updates. I don't know if
>> > changing it here will cause rebuilds on aarch64.
>>
>> The result of unquoting the expression will be either #t or #f,
>> depending on the system. For an aarch64 system, the string s hasn't
>> changed (it'll still start with "aarch64", right?). Therefore, my
>> understanding is that this change here will not alter the package
>> definition; it will still say "#:tests? #f", just like it did before, on
>> an aarch64 system. Is there something else I'm missing?
>>
>
> I like the way it looks better if we use something like
>
> #:tests? ,(if (any (cute string-prefix? <> (or (%current-target-system)
> (%current-system)))
> '("aarch64" "powerpc64le" "mips64"))
> '#f '#t)
Both forms achieve the same result. I honestly think either would be
fine. Therefore, I don't intend to change the commit corresponding to
this specific patch. However, if you went and changed it per above, I
wouldn't mind at all.
--
Chris
signature.asc
Description: PGP signature
- [bug#47182] [PATCH 00/18] Add support for powerpc64le-linux (wip-ppc64le-for-master), (continued)
[bug#47182] [PATCH 05/18] gnu: gcc-boot0: Enable 128-bit long double for POWER9., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 06/18] gnu: binutils-final: Provide bash for binary on powerpc-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 04/18] gnu: glibc: Fix ldd path on powerpc*., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 10/18] gnu: texlive-bin: Fix compilation on powerpc64le*., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 13/18] Add powerpc64le-linux as a supported Guix architecture., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 08/18] gnu: bdb-4.8: Fix configure on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 09/18] gnu: guile-avahi: Fix compilation on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 12/18] gnu: libelf: Fix compilation for powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 11/18] gnu: texlive-latex-base: Fix compilation on powerpc64le*., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 14/18] syscalls: Fix clone on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 15/18] syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 16/18] ci: %cross-targets: Add powerpc64le-linux-gnu., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 17/18] utils: Fix target-64bit? on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 18/18] gnu: sed: Make it build on SELinux-enabled kernels., Chris Marusich, 2021/03/16