Compare commits

..

2 commits

Author SHA1 Message Date
eb8fa7805a Update README.md
Note about not having ccache/sccache preinstalled in chroot.
2024-04-08 12:17:42 +09:00
71cf85f1cd Add notice when dependency prefetch is successful 2024-04-08 12:11:31 +09:00
2 changed files with 11 additions and 0 deletions

View file

@ -74,6 +74,13 @@ For example, when building `tenacity-git` with sccache preinstalled, the build
will hang after the final build step. Apparently, killing the running `sccache`
process stops the soft-lock in this case.
## Preloading ccache/sccache
This script expects ccache and sccache not to be installed in the chroot (for
reasons as mentioned in the previous section) and ccache or sccache will be
appended to a pkg's "other_deps" if a ccache or sccache directory is configured
for it.
# Setting up the AUR Helper
The AUR Helper requires several things:

View file

@ -1404,6 +1404,10 @@ def update_pkg_list(
failure = True
pkg_state[pkg]["build_status"] = "get_dep_fail"
break
log_print(
"Successfully prefetched deps, continuing on to build...",
other_state=other_state,
)
for dep in pkg_state[pkg]["other_deps"]:
dep_fullpath = get_latest_pkg(dep, "/var/cache/pacman/pkg")
if not dep_fullpath: