[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/11: compile: Really disable cross-module inlining and related feature
From: |
guix-commits |
Subject: |
01/11: compile: Really disable cross-module inlining and related features. |
Date: |
Sun, 23 Jan 2022 17:36:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 97a6b4581ae68bfee3c907eb4c5af686052ea45f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jan 21 16:32:44 2022 +0100
compile: Really disable cross-module inlining and related features.
This is a followup to d87a1ba6b8b2f08ba6898033353d7463355bd146.
* guix/build/compile.scm (strip-keyword-arguments): Rename to...
(clear-keyword-arguments): ... this, and set the value associated with
each of KEYWORDS to #f.
(optimizations-for-level): Adjust accordingly.
---
guix/build/compile.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guix/build/compile.scm b/guix/build/compile.scm
index 82761a2190..5b27b55d02 100644
--- a/guix/build/compile.scm
+++ b/guix/build/compile.scm
@@ -37,8 +37,8 @@
;;;
;;; Code:
-(define (strip-keyword-arguments keywords args) ;XXX: copied from (guix utils)
- "Remove all of the keyword arguments listed in KEYWORDS from ARGS."
+(define (clear-keyword-arguments keywords args)
+ "Set to #f the value associated with each of the KEYWORDS in ARGS."
(let loop ((args args)
(result '()))
(match args
@@ -47,7 +47,7 @@
(((? keyword? kw) arg . rest)
(loop rest
(if (memq kw keywords)
- result
+ (cons* #f kw result)
(cons* arg kw result))))
((head . tail)
(loop tail (cons head result))))))
@@ -82,7 +82,7 @@
;; non-reproducible and more expensive builds, so we turn it off
;; here:
;;
<https://wingolog.org/archives/2021/05/13/cross-module-inlining-in-guile>.
- (strip-keyword-arguments '(#:inlinable-exports? #:resolve-free-vars?
+ (clear-keyword-arguments '(#:inlinable-exports? #:resolve-free-vars?
#:cross-module-inlining?)
(if (<= level 1)
%lightweight-optimizations
- branch master updated (8ef0473969 -> b45bbe561a), guix-commits, 2022/01/23
- 02/11: doc: Document search paths., guix-commits, 2022/01/23
- 03/11: gnu: Add font-charter., guix-commits, 2022/01/23
- 04/11: doc: Tweak Guix Home bits., guix-commits, 2022/01/23
- 01/11: compile: Really disable cross-module inlining and related features.,
guix-commits <=
- 05/11: gnu: Add utf-8-lineseparator., guix-commits, 2022/01/23
- 08/11: gnu: gtk-vnc: Remove dependency on GJS on non-x86_64., guix-commits, 2022/01/23
- 06/11: gnu: rofi: Add a search path for plugins., guix-commits, 2022/01/23
- 07/11: gnu: Add rofi-calc., guix-commits, 2022/01/23
- 10/11: gnu: gnome-settings-daemon: Build with correct librsvg., guix-commits, 2022/01/23
- 09/11: gnu: gtk-vnc: Build with correct librsvg., guix-commits, 2022/01/23
- 11/11: gnu: vlc: Build with correct librsvg., guix-commits, 2022/01/23