tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: golang cross-builds



Hi Taylor!

Am 19.01.25 um 21:52 schrieb Taylor R Campbell:
The attached patch teaches pkgsrc to cross-build lang/go123 and
golang-based packages.  I have done some manual tests of native and
cross builds, and I think the parts that are not conditional on
USE_CROSS_COMPILE are relatively low-risk changes, but this is a
high-importance target so I won't commit this right away without
review.  Details in the attachment.  Feedback welcome!

The patch looks good. I particularly like the data-driven conditionals :) I see that you have also arranged for a cross C compiler in the case of cgo.

Please commit this. I am assuming you tested it  :)

--
Benny


Home | Main Index | Thread Index | Old Index