You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
For faster compilation of GTK3 bindings and given that AUR is, after all, a bleeding edge ground, PKGBUILD can point to the Go fork with parallelized cgo builds. It's quite disappointing that on Ryzen 9 7900X, the compilation of glib bindings alone takes over a minute. What I'm referring to is the fork created here: https://github.com/Evengard/go/tree/go-cgo-gcc-parallelism-1.20.3
Caveats, alternative solutions
I know the security and stability risks related to relying on 3rd party forks. Therefore alternatively, we can also try creating a separate AUR package (e.g. with -parallel-cgo suffix), which would use the aforementioned fork.
This issue should also probably remain open, lest the changes get finally merged upstream and such a contraption is no longer needed.
Desktop:
OS: Artix OpenRC 6.3.6-zen1-1-zen
go version: 1.20.5 linux/amd64
gtk-layer-shell version: 0.8.1-1
The text was updated successfully, but these errors were encountered:
What it means to me is maintaining 5 new packages, for nwg-drawer, nwg-menu, nwg-dock, nwg-dock-hyprland and nwg-look, while I already maintain a regular and -bin version of each above. I don't have enough time for this, but I don't mind you taking care of it.
Description
For faster compilation of GTK3 bindings and given that AUR is, after all, a bleeding edge ground, PKGBUILD can point to the Go fork with parallelized cgo builds. It's quite disappointing that on Ryzen 9 7900X, the compilation of glib bindings alone takes over a minute. What I'm referring to is the fork created here:
https://github.com/Evengard/go/tree/go-cgo-gcc-parallelism-1.20.3
which I found on this issue page:
golang/go#9887
Caveats, alternative solutions
I know the security and stability risks related to relying on 3rd party forks. Therefore alternatively, we can also try creating a separate AUR package (e.g. with
-parallel-cgo
suffix), which would use the aforementioned fork.This issue should also probably remain open, lest the changes get finally merged upstream and such a contraption is no longer needed.
Desktop:
The text was updated successfully, but these errors were encountered: