[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49569] [PATCH] gnu: Add make-single-arch-llvm procedure.
From: |
Ludovic Courtès |
Subject: |
[bug#49569] [PATCH] gnu: Add make-single-arch-llvm procedure. |
Date: |
Mon, 26 Jul 2021 18:47:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Efraim Flashner <efraim@flashner.co.il> skribis:
> * gnu/packages/llvm.scm (make-single-arch-llvm): New procedure.
> (llvm-native-12, llvm-native): New variables.
> ---
>
> Using this copy of llvm for packages like mesa will reduce the closure
> of those packages. I don't suppose it would work as well for compilers
> like rust which use LLVM for compiling and targeting different
> architectures.
>
> This drops the size of llvm-12 from 167M to 111M.
That’s less impressive than I would have thought.
For Mesa perhaps we could maybe have a variant that’s even more
stripped?
The downside of this is that we risk having several LLVM copies on
typical installations.
Thoughts?
Thanks,
Ludo’.