[Bug 255046] Ports should fetch distfiles in parallel
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 14 09:49:30 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255046
--- Comment #1 from Mathieu Arnold <mat at FreeBSD.org> ---
I don't think ports SHOULD fetch distribution files in parallel, not everyone
has DSL or faster internet connections, and not everyone needs to be fast.
We could add an option to do it, but you already can do fetch in parallel
yourself. `make fetch-list` returns the list of commands it will run to fetch
distfiles, one per line.
So, all one needs is to add an & at the end of each lines, and run it in a
shell.
For example by doing:
make fetch-list | sed -e 's/$/ \&/' | sh
If you only want the command to return when it has finished, this can be
expanded to something like this:
{make fetch-list | sed -e 's/$/ \&/'; echo wait} | sh
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list