guix/guix
Ludovic Courtès 1ae0e1dc29
store: 'map/accumulate-builds' preserves caches.
Fixes <https://issues.guix.gnu.org/55721>.

Starting from the switch to functional object caches ca.
9e5812ac59, we would be losing accumulated
caches when aborting to the build handler.  This patch fixes that.

In particular, by preserving '%reference-cache-id', we avoid redundant
'query-references' RPCs, which accounted for a large part of the extra
processing time.

* guix/store.scm (build-accumulator): When returning an <unresolved>
node, call 'set-store-connection-caches!' before and after to preserve
caches.
(map/accumulate-builds): Pass STORE as the first argument to
the <unresolved> continuation.
2022-05-30 16:34:39 +02:00
..
build guix: Add elm-build-system. 2022-05-22 01:07:51 +02:00
build-system guix: Upgrade to Bioconductor 3.15. 2022-05-28 23:19:05 +02:00
import guix: Upgrade to Bioconductor 3.15. 2022-05-28 23:19:05 +02:00
platforms platforms: Remove the s390x platform. 2022-05-25 17:11:32 +02:00
scripts scripts/import: Use pretty printer from (guix scripts style). 2022-05-29 00:01:46 +02:00
store guix: Remove duplicate definitions of dump-port. 2022-05-20 20:42:53 +02:00
tests tests: git: Avoid ambiguous module import. 2021-12-23 18:49:05 -05:00
android-repo-download.scm
avahi.scm
base16.scm base16: Reduce GC pressure in bytevector->base16-string. 2021-09-10 17:30:54 +02:00
base32.scm base32: Work around (ash x N) miscompilation at '-O1' and below. 2021-09-21 15:15:52 +02:00
base64.scm
build-system.scm
bzr-download.scm
cache.scm cache: Gracefully handle non-existent cache. 2021-10-25 19:02:33 +02:00
channels.scm channels: Add 'branch' to 'channel->code' output. 2021-12-25 19:12:37 +01:00
ci.scm ci: Restrict substitute search to guix jobset. 2021-12-19 16:25:51 +01:00
colors.scm colors: Add 'colorize-full-matches'. 2022-04-19 18:07:49 +02:00
combinators.scm combinators: Add 'define-compile-time-procedure'. 2021-12-20 16:21:40 +01:00
config.scm.in
cpio.scm syscalls: Deduplicate device number conversion. 2021-09-23 18:17:16 +02:00
cpu.scm guix: cpu: Add detection for aarch64 CPUs. 2022-05-17 15:19:41 +03:00
cve.scm
cvs-download.scm
d3.v3.js
deprecation.scm guix: Add define-deprecated/public-alias. 2022-04-12 20:32:32 +02:00
derivations.scm derivations: Coalesce inputs that have the same output path. 2022-03-07 22:49:27 +01:00
describe.scm
diagnostics.scm diagnostics: Turn diagnostic locations into hyperlinks. 2022-04-08 23:59:48 +02:00
discovery.scm discovery: Hide Guile warnings when loading modules. 2021-09-30 23:44:49 +02:00
docker.scm docker: Enable arm64 docker image building for 'guix pack'. 2021-11-23 10:24:27 +01:00
download.scm download: Add a mirror for CTAN. 2022-05-12 12:45:49 -04:00
elf.scm
extracting-download.scm Add (guix extracting-download). 2021-10-07 22:24:23 +02:00
ftp-client.scm
gexp.scm gexp: Add 'references-file'. 2022-05-01 21:30:34 +02:00
git-authenticate.scm git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
git-download.scm git-download: Set locale to deal with Unicode in git metadata. 2022-04-20 23:46:43 +02:00
git.scm git: Add 'commit-descendant?'. 2022-02-14 11:23:07 +01:00
glob.scm
gnu-maintenance.scm
gnupg.scm gnupg: Honor GnuPG's configuration for the key server. 2021-11-18 14:41:53 -05:00
grafts.scm
graph.js
graph.scm graph: Factorize 'lookup-backend'. 2022-03-18 16:03:33 +01:00
hash.scm guix hash: Extract file hashing procedures. 2022-01-06 16:27:30 +01:00
hg-download.scm
http-client.scm http-client: 'http-fetch/cached' converts strings to URIs. 2022-05-22 01:07:52 +02:00
i18n.scm
inferior.scm inferior: Close duplicate socketpair file descriptor. 2022-05-20 18:46:07 +02:00
ipfs.scm
least-authority.scm Add (guix least-authority). 2022-05-01 21:30:35 +02:00
licenses.scm licenses: Add Expat No Attribution license. 2022-05-23 16:24:47 +02:00
lint.scm lint: check-derivation: Catch all exceptions. 2022-05-23 23:18:30 +01:00
man-db.scm guix: Index the man-db database via man pages names. 2022-03-02 00:00:55 -05:00
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
narinfo.scm narinfo: Do not repeat slash when building nar URLs. 2021-12-12 00:27:53 +01:00
openpgp.scm
packages.scm packages: Use separate package/graft cache. 2022-05-18 23:27:03 +02:00
pki.scm
platform.scm Move (gnu platform) and (gnu platforms ...) to guix/. 2022-05-25 09:27:25 +02:00
profiles.scm profiles: 'manifest->gexp' emits 'properties' field only when needed. 2022-05-24 17:17:26 +02:00
profiling.scm
progress.scm progress: Rate limit drawing in the progress-reporter/bar. 2021-12-12 14:12:15 +00:00
quirks.scm
records.scm
remote.scm store: 'map/accumulate-builds' handler checks the store received. 2021-10-28 21:30:27 +02:00
repl.scm
scripts.scm
search-paths.scm search-paths: Define $SSL_CERT_DIR and $SSL_CERT_FILE. 2022-05-13 17:15:37 +02:00
self.scm Move (gnu platform) and (gnu platforms ...) to guix/. 2022-05-25 09:27:25 +02:00
serialization.scm
sets.scm
ssh.scm
status.scm status: Do not pass a non-literal format string to 'format'. 2022-02-16 16:49:27 +01:00
store.scm store: 'map/accumulate-builds' preserves caches. 2022-05-30 16:34:39 +02:00
substitutes.scm substitutes: Build correct narinfo URLs for cache URLs without trailing slash. 2021-12-12 00:27:53 +01:00
svn-download.scm Merge branch 'master' into core-updates-frozen 2021-11-23 11:29:38 +01:00
swh.scm swh: Allows token from Software Heritage authentication service. 2021-10-15 23:16:28 +02:00
tests.scm tests: Set a hard build timeout. 2022-02-14 11:23:07 +01:00
transformations.scm transformations: Preserve transformation order in package property. 2022-05-05 23:56:58 +02:00
ui.scm ui: Highlight package and service search results. 2022-04-19 18:07:49 +02:00
upstream.scm upstream: Support updating and fetching 'git-fetch' origins. 2022-01-06 16:27:30 +01:00
utils.scm utils: Add ar-for-target and ld-for-target procedures. 2022-03-18 01:26:26 -04:00
workers.scm