[PATCH] D38298: A logic to copy LLVM licences into docker images.

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 10:57:30 PDT 2017


On Thu, Sep 28, 2017 at 10:51 AM, Ilya Biryukov <ibiryukov at google.com>
wrote:

> What I'm saying is there is an apparent need to have in tree:
>>>
>>> 1) a way to collect the list of licenses files that needs to be
>>> distributed with LLVM.
>>> 2) a way to package them with a LLVM binary distribution.
>>> 3) duplicating this in tree seems bad and not maintainable.
>>>
>>
>>
>>
> I agree, but if every single packaging format wants #1 and #2 in different
>> formats and containing different things, how do you expect to build any
>> common functionality here?
>>
>
> As long as #1 is available as a separate step, every distribution can
> build #2 on top of it in their own way.
>

FWIW: Even the *literal formatting of #1* differs.
IE people literally want the text wrapped differently for different
distributions.  Some also want it in SPDX format, which would mean
transforming the licenses into an xml format, transforming the common ones
into license identifiers,  etc.


Anyway, i'll just say: I've been down this road before, many many times
before. Trying to do this was part of what i did for many years :)  I
doubt you will find any common functionality that helps here, and will end
up either
1. reimplementing #1, #2, and #3 for roughly every packaging anyone does
(except *maybe* the binaries distributed in random .tar.gz on llvm.org).
or
2. deciding you don't care what folks want :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170928/e5a38cf5/attachment.html>


More information about the llvm-commits mailing list