Date: Mon, 1 Nov 2021 08:45:19 -0400
On Sat, Oct 30, 2021 at 7:03 AM Boris Kolpackov wrote:
> > Hint: *full path to libraries*.
> static_library_full_path=/usr/lib/libhello.a
> shared_library_full_path=/usr/lib/libhello.a
Additional requirements include:
* Relocatable packages: computing absolute paths to library files
and include directories based on the location of the pkg file itself.
A pkg file should know the relative paths of itself and the other
artifacts relative to the prefix. Together this information can be
used to construct absolute paths even after the whole prefix has
been relocated.
* Ubiquitous availability of absolute paths from pkg files in practice.
For reference, there has been some progress in getting CMake
to export package installations as .pc files:
* install: add EXPORT mode to generate pkg-config files
https://gitlab.kitware.com/cmake/cmake/-/issues/22621
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6363
However, IIRC the design work is stalled on figuring out how to map
transitive dependencies across different package representations.
-Brad
> > Hint: *full path to libraries*.
> static_library_full_path=/usr/lib/libhello.a
> shared_library_full_path=/usr/lib/libhello.a
Additional requirements include:
* Relocatable packages: computing absolute paths to library files
and include directories based on the location of the pkg file itself.
A pkg file should know the relative paths of itself and the other
artifacts relative to the prefix. Together this information can be
used to construct absolute paths even after the whole prefix has
been relocated.
* Ubiquitous availability of absolute paths from pkg files in practice.
For reference, there has been some progress in getting CMake
to export package installations as .pc files:
* install: add EXPORT mode to generate pkg-config files
https://gitlab.kitware.com/cmake/cmake/-/issues/22621
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6363
However, IIRC the design work is stalled on figuring out how to map
transitive dependencies across different package representations.
-Brad
Received on 2021-11-01 07:45:33