[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69581] [PATCH 07/11] gnu: rust: Add tuning information.
From: |
Efraim Flashner |
Subject: |
[bug#69581] [PATCH 07/11] gnu: rust: Add tuning information. |
Date: |
Thu, 7 Mar 2024 11:09:58 +0200 |
On Wed, Mar 06, 2024 at 07:09:32PM +0100, Ludovic Courtès wrote:
> Efraim Flashner <efraim@flashner.co.il> skribis:
>
> > * gnu/packages/rust.scm (rust)[properties]: Add clang-properties
> > matching the input llvm package.
> >
> > Change-Id: Ie2ef2387fff8aa639dcd73752bcaf3c26bbb376d
>
> Hmm rustc actually uses LLVM for code generation? I’m a bit lost.
> Anyway, if it supports those same flags as Clang, all good; maybe add a
> comment to say so explicitly.
It supports the same target_cpu targets as clang does. With llvm
switching to a monorepo they've apparently done a better job about
syncing the list between llvm and clang.
> > + (properties `(`(append
> > + ,(alist-delete 'hidden? (package-properties
> > base-rust))
> > + ,@(clang-properties "15"))))
>
> I think you meant:
>
> (properties (append (alist-delete 'hidden? (package-properties base-rust))
> (clang-properties "15")))
I would love to have it cleaner like this. There was a lot of trial and
error to end up with what I had above. I'll try that.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
- [bug#69581] [PATCH 00/11] CPU tuning patches, Efraim Flashner, 2024/03/06
- [bug#69581] [PATCH 02/11] gnu: libvorbis: Mark as tunable., Efraim Flashner, 2024/03/06
- [bug#69581] [PATCH 06/11] gnu: syncthing: Mark as tunable., Efraim Flashner, 2024/03/06
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Efraim Flashner, 2024/03/06
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Ludovic Courtès, 2024/03/06
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information.,
Efraim Flashner <=
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Ludovic Courtès, 2024/03/06
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Efraim Flashner, 2024/03/07
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Ludovic Courtès, 2024/03/07
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Efraim Flashner, 2024/03/08
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Ludovic Courtès, 2024/03/08
- [bug#69581] [PATCH 07/11] gnu: rust: Add tuning information., Efraim Flashner, 2024/03/10
[bug#69581] [PATCH 09/11] gnu: rav1e: Mark as tunable., Efraim Flashner, 2024/03/06
[bug#69581] [PATCH 05/11] guix: cpu: Enable tuning for i686-linux., Efraim Flashner, 2024/03/06