Subject: Re: bug#49569: [PATCH] gnu: Add make-single-arch-llvm procedure.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 26 Jul 2021 18:47:14 +0200

Hi,

Efraim Flashner <[email-masked]> 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’.