[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 08:48:41 PDT 2017


>
>
> > Where would license files go on a make install?
>
> "$CLANG_INSTALL_DIR/share/llvm/licenses"? Eventually make the path it an
> option?
>
>
At least in linux land, most distros have places they expect licenses to
go, and it's often part of the packaging format itself.
For example, debian expects copyright notices to be part of packaging, not
installed by the package.
(IE what the patch originally does).

In particular, it expects it to be a machine parseable format in
debian/copyright in the .deb package file.

This is in turn, parsed and a formatted version put in the right place in
the distro.
They do *not* want packages installing them themselves, AFAIK.

While i understand why you think this logic should be common, IMHO, it
shouldn't be.

Every single packaging/etc system has a different format, set of rules, etc
for what should be happening here.
There is no real common logic you can extract from this.

You are going to write logic for rpms, debian, docker, etc anyway right
now, to put the bits in the formats and places the distros want them.

I wish it wasn't the case, of course.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170928/d2131a91/attachment.html>


More information about the llvm-commits mailing list