Patch copied from Debian: https://anonscm.debian.org/cgit/pkg-games/lierolibre.git/tree/debian/patches/0001-Use-unaligned-access-define-over-checking-arch.patch?id=82910748906855f6e6bfe30b3f077e8c793ae424 From 396f19b6b7743d394307f70f0c0108419824437b Mon Sep 17 00:00:00 2001 From: Martin Erik Werner Date: Sun, 28 Jun 2015 16:31:34 +0200 Subject: [PATCH 1/3] Use unaligned access define over checking arch This todo item seems like it done, and just needed implementing... --- io/encoding.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gvl/io/encoding.hpp b/src/gvl/io/encoding.hpp index c491677..89bb612 100644 --- a/src/gvl/io/encoding.hpp +++ b/src/gvl/io/encoding.hpp @@ -374,7 +374,7 @@ struct octet_stream_writer // inlining of the common case if(std::size_t(end_ - cur_) >= len) { -#if GVL_X86 || GVL_X86_64 // TODO: A define that says whether unaligned access is allowed +#if GVL_UNALIGNED_ACCESS if(len < 64) // TODO: Tweak this limit { while(len > 4) -- 2.4.6 refslogtreecommitdiff
path: root/gnu/build/install.scm
AgeCommit message (Expand)Author
2020-12-15store-copy: 'populate-store' can optionally deduplicate files....Until now deduplication was performed as an additional pass after copying files, which involve re-traversing all the files that had just been copied. * guix/store/deduplication.scm (copy-file/deduplicate): New procedure. * tests/store-deduplication.scm ("copy-file/deduplicate"): New test. * guix/build/store-copy.scm (populate-store): Add #:deduplicate? parameter and honor it. * tests/gexp.scm ("gexp->derivation, store copy"): Pass #:deduplicate? #f to 'populate-store'. * gnu/build/image.scm (initialize-root-partition): Pass #:deduplicate? to 'populate-store'. Pass #:deduplicate? #f to 'register-closure'. * gnu/build/vm.scm (root-partition-initializer): Likewise. * gnu/build/install.scm (populate-single-profile-directory): Pass #:deduplicate? #f to 'populate-store'. * gnu/build/linux-initrd.scm (build-initrd): Likewise. * guix/scripts/pack.scm (self-contained-tarball)[import-module?]: New procedure. [build]: Pass it as an argument to 'source-module-closure'. * guix/scripts/pack.scm (squashfs-image)[build]: Wrap in 'with-extensions'. * gnu/system/linux-initrd.scm (expression->initrd)[import-module?]: New procedure. [builder]: Pass it to 'source-module-closure'. * gnu/system/install.scm (cow-store-service-type)[import-module?]: New procedure. Pass it to 'source-module-closure'. Ludovic Courtès
2020-09-02install: Factorize cow-store procedure....Move the cow-store procedure from the service declaration in (gnu system install) to (gnu build install), so that it can be called from within a different context than Shepherd. * gnu/build/install.scm (mount-cow-store, unmount-cow-store): New procedures. * gnu/system/install.scm (make-cow-store): Remove it, (cow-store-service-type): adapt it accordingly. Mathieu Othacehe