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@lists.isocpp.org> 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@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/sg15

_______________________________________________
SG15 mailing list
SG15@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/sg15