[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43679: [PATCH v2 0/5] Add '--with-c-toolchain'
From: |
Ludovic Courtès |
Subject: |
bug#43679: [PATCH v2 0/5] Add '--with-c-toolchain' |
Date: |
Mon, 12 Oct 2020 18:27:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi!
Ludovic Courtès <ludo@gnu.org> skribis:
> This is v2 of this patch, with these changes:
>
> 1. ‘with-toolchain’ is replaced by ‘with-c-toolchain’ everywhere,
> with the understanding that it’s about the C/C++ toolchain
> in practice. In the end I’m sympathetic with the argument
> that C/C++ don’t have a monopoly on toolchains. ;-)
>
> 2. ‘--with-c-toolchain=PACKAGE=TOOLCHAIN’ rebuilds not just
> PACKAGE with TOOLCHAIN, but also everything above PACKAGE
> with TOOLCHAIN (in v1, only PACKAGE was rebuilt with TOOLCHAIN
> but everything above it had to be rebuilt anyway.)
>
> The main motivation here is to reduce the changes that we’re
> introducing ABI incompatibilities that users would have to work
> around by passing on ‘--with-c-toolchain’ for each package in
> the chain. I think it also more closely matches user
> expectations: when you see things are being rebuilt, you’re
> likely to think that’s because they’re rebuilt with the new
> toolchain, not the default one.
>
> Feedback welcome!
>
> Ludo’.
>
> Ludovic Courtès (5):
> gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.
> gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.
> gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
> packages: Add 'package-with-c-toolchain'.
> guix build: Add '--with-c-toolchain'.
Pushed as a2ed00f79fd5bf69c6cca3fa7bdc62726bf848fa!
Ludo’.
- [bug#43679] [PATCH v2 0/5] Add '--with-c-toolchain', Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 1/5] gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 2/5] gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 3/5] gnu: clang-toolchain: Create 'cc' and 'c++' symlinks., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 4/5] packages: Add 'package-with-c-toolchain'., Ludovic Courtès, 2020/10/09
- [bug#43679] [PATCH v2 5/5] guix build: Add '--with-c-toolchain'., Ludovic Courtès, 2020/10/09
- bug#43679: [PATCH v2 0/5] Add '--with-c-toolchain',
Ludovic Courtès <=