xbps-src: multiple performance improvements.
- use xbps-checkvers(1) to resolve dependencies. - all dependencies are installed at once for the host and target. - the `show-build-deps` target is now much faster. - the `update-bulk/show-repo-updates` targets are now much faster. - the `update-sys/show-sys-updates` targets are now much faster. - the `bootstrap` target now works on musl hosts. - simplified some loops. - use cut(1) rather than awk(1) where applicable. - multiple random changes to improve performance. Based on work started by @Duncaen on https://github.com/void-linux/void-packages/pull/12433 Close https://github.com/void-linux/void-packages/pull/12433 Close https://github.com/void-linux/void-packages/pull/11282
This commit is contained in:
parent
7801a8cef8
commit
2a4e178e35
13 changed files with 401 additions and 602 deletions
|
@ -54,6 +54,10 @@ remove_pkg_autodeps() {
|
|||
$XBPS_RECONFIGURE_CMD -a >> $tmplogf 2>&1
|
||||
echo yes | $XBPS_REMOVE_CMD -Ryod >> $tmplogf 2>&1
|
||||
rval=$?
|
||||
if [ $rval -eq 0 ]; then
|
||||
echo yes | $XBPS_REMOVE_CMD -Ryod >> $tmplogf 2>&1
|
||||
rval=$?
|
||||
fi
|
||||
|
||||
if [ $rval -ne 0 ]; then
|
||||
msg_red "${pkgver:-xbps-src}: failed to remove autodeps: (returned $rval)\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue