Hi,
Ludovic Courtès skribis:
> The patch below produces a ‘clang’ package that contains
> ‘clang-tools-extra’ commands¹.
>
> The problem is the size. Before:
>
> $ guix size /gnu/store/qxdpxbvfdxfy5dnz4haql4xlxpmb5r6b-clang-10.0.0 |tail -1
> total: 995.2 MiB
> $ guix size
Hello!
Clang-tools-extra is really meant to built within the Clang tree.
Attach is an attempt to build it out-of-tree but so far it fails with
undefined references for Clang libraries and the obvious solution of
adding ‘-l’ flags until it’s happy doesn’t work.
In my original attempt, the
Hi,
Efraim Flashner transcribed 1.9K bytes:
> On Mon, Apr 27, 2020 at 09:31:01AM +0200, Ludovic Courtès wrote:
> > Hi!
> >
> > Nikita Gillmann skribis:
> >
> > > Is it? The way we build clang and clang-tools-extra in pkgsrc is to
> > > have them separate.
> > > Refer to lang/clang-tools-extra
On Mon, Apr 27, 2020 at 09:31:01AM +0200, Ludovic Courtès wrote:
> Hi!
>
> Nikita Gillmann skribis:
>
> > Is it? The way we build clang and clang-tools-extra in pkgsrc is to
> > have them separate.
> > Refer to lang/clang-tools-extra and lang/clang to see how.
> > The gist is, BUILD_TARGET for
Hi!
Nikita Gillmann skribis:
> Is it? The way we build clang and clang-tools-extra in pkgsrc is to
> have them separate.
> Refer to lang/clang-tools-extra and lang/clang to see how.
> The gist is, BUILD_TARGET for clang-tools-extra gets overridden
> and appended with targets to build.
Nice.
Ludovic Courtès transcribed 4.9K bytes:
> Hello!
>
> The patch below produces a ‘clang’ package that contains
> ‘clang-tools-extra’ commands¹.
>
[...]
> Any idea how to best package it?
>
> We could of course have a ‘clang-full’ package, but it seems wasteful.
> We could also have a separate
Hello!
The patch below produces a ‘clang’ package that contains
‘clang-tools-extra’ commands¹.
The problem is the size. Before:
--8<---cut here---start->8---
$ guix size /gnu/store/qxdpxbvfdxfy5dnz4haql4xlxpmb5r6b-clang-10.0.0 |tail -1
total: 995.2 MiB
$