C++ Logo

sg15

Advanced search

Re: Proposal for module metadata format to be used by the std library and others

From: Tom Honermann <tom_at_[hidden]>
Date: Wed, 20 Dec 2023 10:01:10 -0500
On 12/19/23 5:14 PM, Steve Downey via SG15 wrote:
> ${prefix}/share/libc++/v1 , since usr is a prefix?

I agree; that would better match the layout for my local installs. My
${prefix}/share location currently contains directories named clang,
man, opt-viewer, scan-build, and scan-view. None of those have versioned
subdirectories, but the v1 is consistent with the placement of libc++
header files under ${prefix}/include/c++.

Tom.

>
> It looks like rust puts this sort of information in share/cargo - not
> a real option for us.
>
> On Tue, Dec 19, 2023 at 2:56 PM Mark de Wever via SG15
> <sg15_at_[hidden]> wrote:
>
> On Tue, Dec 12, 2023 at 04:56:32PM -0500, Daniel Ruoso via SG15 wrote:
> > As discussed in the meeting on 2023-12-12, I'm putting together
> a proposal
> > for the metadata format to be used both when discovering the std
> modules as
> > well as for pre-built libraries in general.
>
> Based on this proposal I've created a libc++ PR [1]. I got a lot of
> pushback regarding installing modules in a directory parallel to
> include. I've changed that directory. The current tentative
> location is
>
> <prefix>/usr/share/libc++/v1/
>
> I'm still working on a Clang patch to provide the name of the manifest
> file.
>
> [1] https://github.com/llvm/llvm-project/pull/75741
>
> Cheers,
> Mark
> _______________________________________________
> SG15 mailing list
> SG15_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg15
>
>
> _______________________________________________
> SG15 mailing list
> SG15_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg15

Received on 2023-12-20 15:01:14