Le 2019-04-16 15:06, Robert-André Mauchin a écrit :
On Tuesday, 16 April 2019 02:46:49 CEST Mat Booth wrote:

Yes, there is a buildopts section in the yaml file where you can specify
rpm macros.

Here is the documentation:

https://docs.fedoraproject.org/en-US/modularity/making-modules/defining-modu
les/#_build_macros_optional

Here is an example where I needed to set --with bootstrap in my module:

https://src.fedoraproject.org/modules/tycho/blob/df837b8793fe460d2c7e72ab6d6
38a0f6e9f47a7/f/tycho.yaml#_76



Thanks for the tip but that wouldn't work for Golang. When we bootstrap we
disable certain codepath to workaround the cycle, but we still need to
reenable them later to build the final binary. So we need to do both a
bootstrap build, and then a non-bootstrap build to get all the functionality.

And that BTW is not Go specific at all. That's the usual bootstrap definition within Fedora.

--
Nicolas Mailhot
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to