Re: Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-05-29 Thread Ludovic Courtès
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

Re: Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-05-05 Thread Ludovic Courtès
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

Re: Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-04-27 Thread Nikita Gillmann
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

Re: Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-04-27 Thread Efraim Flashner
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

Re: Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-04-27 Thread Ludovic Courtès
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.

Re: Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-04-24 Thread Nikita Gillmann
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

Packaging ‘clang-tools-extra’ (‘clang-tidy’, etc.)

2020-04-24 Thread Ludovic Courtès
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 $