On Tue, 16 Apr 2019 at 00:29, Robert-André Mauchin <zebob.m@xxxxxxxxx> wrote:
>
> Hi,
>
> In Golang, we have a lot of cyclic dependencies for which we have to bootstrap
> many packages, and then later build them unbootstrapped when all the deps are
> in place.
> How are we supposed to handle this in Modularity? Since it rebuilds all
> packages from the start, it will fail to build cyclic deps. Is there a way to
> turn on the --with bootstrap switch in Modularity? Are we supposed to build
> the package two times, one with bootstrap, and later without?
>
> Best regards,
>
> Robert-André
--
Mat Booth
http://fedoraproject.org/get-fedora
>
> Hi,
>
> In Golang, we have a lot of cyclic dependencies for which we have to bootstrap
> many packages, and then later build them unbootstrapped when all the deps are
> in place.
> How are we supposed to handle this in Modularity? Since it rebuilds all
> packages from the start, it will fail to build cyclic deps. Is there a way to
> turn on the --with bootstrap switch in Modularity? Are we supposed to build
> the package two times, one with bootstrap, and later without?
>
> Best regards,
>
> Robert-André
Yes, there is a buildopts section in the yaml file where you can specify rpm macros.
Here is the documentation:
Here is an example where I needed to set --with bootstrap in my module:
Mat Booth
http://fedoraproject.org/get-fedora
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx