[build2] Arch Linux - build2-toolchain added in AUR

Filipe Verri filipeverri at gmail.com
Mon Aug 14 19:00:22 UTC 2017


Great!

I'll take a look at the thread and try to split the installation into
several packages.

On Mon, Aug 14, 2017 at 3:55 PM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Filipe Verri <filipeverri at gmail.com> writes:
>
> > I've just packaged build2-toolchain in the Arch Linux User Repository:
> > https://aur.archlinux.org/packages/build2-toolchain/
>
> Nice!
>
> BTW, there is a thread going right now about packaging build2 for
> Debian. You may find some information there useful:
>
> https://lists.build2.org/archives/users/2017-August/000063.html
>
>
> > In the bootstrapping process, I've decided to link the dependencies
> > statically, so it doesn't clash with system libraries.
> >
> > See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=build
> 2-toolchain
> > However, by doing so, libbutl is also installed as a static library after
> > the process.
> >
> > Is it possible to setup a configuration that all other dependencies are
> > statically linked, but libbutl is dynamically linked?
>
> I think a better approach would be to:
>
> 1. Package everything using individual archives (as described in the
>    thread mentioned above). A bit more work but also a lot more
>    flexibility.
>
> 2. Use system packages for things like libsqlite.
>
> 3. Install libbutl and libbpkg as shared libraries.
>
> 4. Link pre-release libodb* libraries as static (and perhaps don't
>    install them).
>
> Boris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20170814/8ced46be/attachment.html>


More information about the users mailing list