[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55220] [PATCH 0/4] Add --list-systems and --list-targets options.
From: |
Maxim Cournoyer |
Subject: |
[bug#55220] [PATCH 0/4] Add --list-systems and --list-targets options. |
Date: |
Sat, 21 May 2022 21:34:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Maxime Devos <maximedevos@telenet.be> writes:
> Mathieu Othacehe schreef op za 07-05-2022 om 18:11 [+0200]:
>> * gnu/platform.scm (platform-modules, systems, targets,
>> lookup-platform-by-system, lookup-platform-by-target,
>> lookup-platform-by-target-or-system
>> platform-system->target,
>> platform-target->system): New procedures.
>> (%platforms): New variable.
>> [...]
>
> Food for later: I'm wondering if it would make sense to (long term)
> let %current-system/%current-target-system be a <platform> record
> and eliminate nix-system->gnu-triplet, gnu-triplet->nix-system in
> favour of platform-target & platform-system. That could avoid the
> problem of forgetting that targets and nix systems have different
> formats, making a class of cross-compilation bugs less likely ...
That sounds like a good idea to me. I was bit by that in the past,
probably not for the last time.
Maxim
[bug#55220] [PATCH v2 3/6] ci: Do not rely on hardcoded cross-targets lists., Mathieu Othacehe, 2022/05/07
[bug#55220] [PATCH v2 4/6] scripts: Add --list-systems and --list-targets options., Mathieu Othacehe, 2022/05/07
[bug#55220] [PATCH v2 2/6] platform: Add discovery support., Mathieu Othacehe, 2022/05/07
[bug#55220] [PATCH v2 5/6] platform: Add glibc-dynamic-linker field., Mathieu Othacehe, 2022/05/07
[bug#55220] [PATCH v2 6/6] linux: Remove system->linux-architecture procedure., Mathieu Othacehe, 2022/05/07