[build2] build2 0.14.0 released
Matthew Krupcale
mkrupcale at matthewkrupcale.com
Sun Oct 31 15:28:36 UTC 2021
On Mon, Oct 25, 2021 at 6:31 AM Boris Kolpackov <boris at codesynthesis.com> wrote:
> >
> > What should I do in this case since I don't want to install the static
> > libodb libraries? config.install=false was the previous mechanism in
> > this case. Is there an equivalent way to achieve this result?
>
> I am not sure what you mean by config.install=false here
The intent is to prevent installing the ODB dependencies because I
don't want to distribute the bundled beta version libraries. I don't
remember how I came up with this configuration and can't seem to find
a record of it on the mailing lists or documentation, but I thought
this was the proper method somehow. I probably just got the idea from
"install = false" found in buildfiles to prevent installing a
particular target set.
> the straightforward solution would be to not build liba{}'s if you don't
> want to install them.
They are built as static libraries specifically in order to bundle
them and not distribute them as separate artifacts.
> Try adding '!config.bin.lib=shared' to the above
> command.
Once ODB v2.5.0 is officially released, a separate Fedora package will
be (re)created distributing the shared libraries, and build2 will just
use those.
If there's no way to avoid installing the static libraries, I can just
install them and then delete them for the actual package distribution,
but I suppose it might be good to allow an exception for static
libraries to not be required for installation of dependent artifacts.
More information about the users
mailing list