FS#77107 - [dart] Don't simply download the binary from google servers
Attached to Project:
Community Packages
Opened by Daniele Basso (tiziodcaio) - Friday, 13 January 2023, 00:57 GMT
Last edited by George Rawlinson (rawlinsong) - Thursday, 22 June 2023, 08:58 GMT
Opened by Daniele Basso (tiziodcaio) - Friday, 13 January 2023, 00:57 GMT
Last edited by George Rawlinson (rawlinsong) - Thursday, 22 June 2023, 08:58 GMT
|
Details
Description: After a lot of studies of google's
infrastructures for implement dart's sdk build system, I've
created a PKGBUILD that potentially should be replacing the
actual one, building dart-sdk from source using system clang
and pulling only what's necessary (totally """only""" 3GB of
$srcdir), creating a binary ~40MB smaller.
See the AUR package dart-system for more details and testing... |
This task depends upon
Closed by George Rawlinson (rawlinsong)
Thursday, 22 June 2023, 08:58 GMT
Reason for closing: Implemented
Additional comments about closing: 3.0.2-1
Thursday, 22 June 2023, 08:58 GMT
Reason for closing: Implemented
Additional comments about closing: 3.0.2-1
[1] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
[2] dart-system-2.19.0-2-x86_64-build.log
https://gitlab.archlinux.org/archlinux/packaging/packages/dart/-/merge_requests/2
Sidenote: I am horrified by how complicated the build system is. I can't reliably cache any of whatever it downloads, so I *really* hope I won't have to do much poking for future bug reports.