[build2] Using build2 packages installed by bpkg

Per Edin per.edin at sequence-point.se
Tue Feb 25 10:17:16 UTC 2020


Hi!

Maybe
https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml#guide-system-deps
can
help you? I guess that should work even for dependencies installed using
bpkg.

// Per


On Tue, Feb 25, 2020 at 2:06 AM Markus Pawellek <markuspawellek at gmail.com>
wrote:

> Hello,
>
> is it possible to use a build2 package 'A', that was installed by bpkg
> to '/usr/local', as a system-installed dependency for another build2
> project 'X' which is stating the package 'A' as an explicit dependency
> in its manifest file by 'depends: A'?
> Currently, every build configuration used in a project has to download
> its dependencies anew.
> Of course, this makes sense if I would like to build the dependencies
> with the same configuration and a specific version.
> But for example, if I would use a rare-changing, header-only library
> with some specific version, it would be easier to rely on the globally
> installed package.
> In short: How to use build2 packages installed by bpkg in other build2
> projects?
> I could not find an entry about this specific problem in the documentation.
> Thank you very much in advance.
>
> Greetings
> Markus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20200225/f8aa00c5/attachment.html>


More information about the users mailing list