From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2HqXGg7JX2eEsAAAqHPOHw:P1 (envelope-from ) for ; Mon, 16 Dec 2024 06:30:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2HqXGg7JX2eEsAAAqHPOHw (envelope-from ) for ; Mon, 16 Dec 2024 07:30:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FV57LHmL; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=f5wRqrnv; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734330638; a=rsa-sha256; cv=none; b=ZBKmq/hA1TvHRg+Ai+qlRbldR4fbdhNAak80DFOIBcdnct7JCiwlSM04PnIV4FYliwQABQ omSr3PBzKiZ6RzM5UPFWIBkcfUNrPda3en5V+5qtTcOxzAzyKjwKLxqEeuC9dKZ3xx38aF NpExtbjIAFC7HNF0wAEb87kvYNuk1AM0qJCIZa/XW/OM0MLkK3EdAqyl84Kl4SWdyO5ey3 c1RTbCVj5IgBzJlB8mAYMPy9MOWYE52phnqpiUmAQvWThTMCxz8bEDwtq/R5WTX1mmO8Ig 7gOuzioD2dnG7Zsg5NC30VDHypmGhwtFt4xSIEihsbQEVliZZNQutp5D7vk3hA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FV57LHmL; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=f5wRqrnv; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734330638; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kHrFnMpSHPELNBCjsgb8Cm4fGwJuXB32p4vdMwGhjtk=; b=fURS80K3THhZUsRLD9F5DX7TUc3OWEJIHRobyAdJ35ZQV4koXm7ZRJ27eVXPMWGmY4YHhL kzeyJdo/DnKVZi3E+usNn4Cy/Hgrr+0XiERpKkhNGeMpd2+GtoeeS91e5/gCcdorXqQ0RK PRDHztmFRUK4B1Pjp7CDcMj1+o9Xynj5lycP2yIA9LdUiofLnNPjMrf80RvTBCkdfIDXaq 5pGJ/Km2+aWzrmQHbPFiRbDuqbmvx8LG1Rsa+828D1FZh+au3Xcv5+1z/RNDaPwYEI76M2 miMm0ksOXsBKibquG3KLypb7FUJ58bLn7fI38D1vNV22fc3EoZORmrncQwjxkQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9F8585DF8 for ; Mon, 16 Dec 2024 07:30:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tN4cN-0007mQ-JT; Mon, 16 Dec 2024 01:30:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tN4cJ-0007lp-Ey for guix-patches@gnu.org; Mon, 16 Dec 2024 01:30:08 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tN4cH-0006TM-Cc for guix-patches@gnu.org; Mon, 16 Dec 2024 01:30:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=kHrFnMpSHPELNBCjsgb8Cm4fGwJuXB32p4vdMwGhjtk=; b=FV57LHmLBFnlKgBo0jVtucdTmKRyxuPPh3D1cvUwzEBi+V+S5fl2A//wZ3fzVYB10Uo695C5DxHQuXWyxUPv0w2/3Y/eEznjuBw/taQ13wSyDO5F6Jnf799RjnJoT4X67x7F88+RfLnoNeQjQQnDt8PHHYr0o2PH7P6WU2Igio7AvC/WoDEmtgPgDCHOxXP0cW4K+X83oab/BhWny4jwtWsAm1GAforjx5IG9HVWhu56yZGR4qqsEQcOOidyQobPT+m51mgaAQqfJOK5r9b/ZkDp/2tek40gdZsOawnRWnFaB1oBZa9fWKdJzc7fviZIcsZr6a4OMev6teTa0UAxXw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tN4cG-00054j-SB; Mon, 16 Dec 2024 01:30:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74909] [PATCH 2/3] build/guile: Disable parallel build for now. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 16 Dec 2024 06:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74909 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74909@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 74909-submit@debbugs.gnu.org id=B74909.173433059919411 (code B ref 74909); Mon, 16 Dec 2024 06:30:04 +0000 Received: (at 74909) by debbugs.gnu.org; 16 Dec 2024 06:29:59 +0000 Received: from localhost ([127.0.0.1]:53217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN4c6-00052p-LK for submit@debbugs.gnu.org; Mon, 16 Dec 2024 01:29:59 -0500 Received: from mail-pf1-f179.google.com ([209.85.210.179]:45305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN4c4-00052h-Rb for 74909@debbugs.gnu.org; Mon, 16 Dec 2024 01:29:53 -0500 Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-728e81257bfso2742901b3a.2 for <74909@debbugs.gnu.org>; Sun, 15 Dec 2024 22:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734330531; x=1734935331; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kHrFnMpSHPELNBCjsgb8Cm4fGwJuXB32p4vdMwGhjtk=; b=f5wRqrnvzjbcZb9B/8WwizmM+fYrQ/c3X6Mu++1fldSmB2jBbjU6TeoeyptX5ggfxN wYnFNBqf9XB9fKTEopERNYo2MRMqt3uYMeZ5QZRUDa1r2JO1QXwK9LETmZjhnf5O8CAC EUTMndE8R37jBwb+2QqJ6b5J0b06WFfc8gfGhGEzHgYcuWzijqSCHSEvOBvdvtn9+28s RS2sHrWTcIxRbkE2QCQ2glFX0z5IdmuTFq9xz53eS3AXHKSnPjIVH+9RPz7ZSEkGJ5kM WxdDfLCgkCZIaV+7NOSISLOIvCqRxfxH42FZI/AA2W4At5J3U1j0pIAudHZTGHGLUG9C i9GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734330531; x=1734935331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kHrFnMpSHPELNBCjsgb8Cm4fGwJuXB32p4vdMwGhjtk=; b=vUAP80T7DyMkjCA4CDs/Zv9RsnqIjk8Ngcfetxts9EVsRPJIucMTlH1UqJRX0FQZ/W IraXfpwaHAN3ay0U4Zw3H5Jd8Vi0ogFIYKRoGyypfqpfMS2KuseaIFN1Ejm0gc/wXkxv hy9dr688jktzBNIwqsORSz4TND/0NsWAFlKgH2peYxLz5kdhLiQaHTcc+LL+aS8SiqtT mUcuR3Uj/DZQ8ZWoApR27Id05sJQwl1oLGs1hQN0HXBV8B5zUcbWssv5jiyzunYOsqfC CQz7aQ7qnNuq/hiOfyj+Oyxgp4XVouJHaDFzVo0MfY5DRVFOqBPTiNBoasD/Agj1E88J /34Q== X-Gm-Message-State: AOJu0YzdkAXWYLFfTqDQiXWBNbEy1wk7qr5Xl3xwFoFLU/2BNcqUcgam Eyniiqd7x9Je9BDltQ8rQwAP0Ponp2czslbHTOnLS2QDZNxFHHXcPz9rFQ== X-Gm-Gg: ASbGnculSck75dt4OGyuUFqNRirHsyS/CzjdK8fAJert4jhJ4pg9RqVRVdxSO4TZ0KY D7lRNThyomdIS9Z8vYN/g5IPGl00iBSnD/6pTImWIfKR1A/zErOoIFpEVXhHUEH3BM3jaHyUclI RATwOpbZKJ3m+b96Pu/utX2a9UwUSRrkEzQDZ79Y6VgN3QoODoHmLNpdqO7l1KkjYCUcXa4GMHX Rnsa4MUFwXjW5siRr+wpNv13BT+45jHGiJrEH+sDAN7s4SHXYk3uBiezQyYkpoL3uBjJEgTG0M= X-Google-Smtp-Source: AGHT+IF05y9ktUeQZfI94KR4UNZL27/Q2n6BNUpXQipASNU6HSUyIcoX4xZuG/SN4SKQdDngXL0Nbw== X-Received: by 2002:a05:6a00:2d07:b0:728:ecab:51e3 with SMTP id d2e1a72fcca58-7290c1b0abdmr16104164b3a.11.1734330531126; Sun, 15 Dec 2024 22:28:51 -0800 (PST) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72918b788d1sm3948509b3a.110.2024.12.15.22.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 22:28:50 -0800 (PST) From: Maxim Cournoyer Date: Mon, 16 Dec 2024 15:28:04 +0900 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.34 X-Spam-Score: -4.34 X-Migadu-Queue-Id: E9F8585DF8 X-Migadu-Scanner: mx10.migadu.com X-TUID: PKZKc/FJIstf Following discussions in bug #74204. * guix/build-system/guile.scm (guile-build): Add a #:parallel-build? flag, defaulting to #f for now. (guile-cross-build): Likewise. * guix/build/guile-build-system.scm (build): Honor it. Change-Id: Ibf12ac098e9dcea83da7b9685796e501df606c6c --- guix/build-system/guile.scm | 11 +++++++++++ guix/build/guile-build-system.scm | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/guix/build-system/guile.scm b/guix/build-system/guile.scm index ee59bb15f2..df6988a1b7 100644 --- a/guix/build-system/guile.scm +++ b/guix/build-system/guile.scm @@ -85,6 +85,10 @@ (define* (guile-build name inputs (source-directory ".") not-compiled-file-regexp (scheme-file-regexp %scheme-file-regexp) + ;; FIXME: Turn on parallel building of Guile modules by + ;; default after the non-determinism issues in the Guile byte + ;; compiler are resolved (see bug #20272). + (parallel-build? #f) (compile-flags %compile-flags) (imported-modules %guile-build-system-modules) (modules '((guix build guile-build-system) @@ -101,6 +105,7 @@ (define* (guile-build name inputs #:source-directory #$source-directory #:scheme-file-regexp #$scheme-file-regexp #:not-compiled-file-regexp #$not-compiled-file-regexp + #:parallel-build? #$parallel-build? #:compile-flags #$compile-flags #:phases #$phases #:system #$system @@ -132,6 +137,11 @@ (define* (guile-cross-build name (source-directory ".") (scheme-file-regexp %scheme-file-regexp) not-compiled-file-regexp + ;; FIXME: Turn on parallel building of Guile + ;; modules by default after the non-determinism + ;; issues in the Guile byte compiler are resolved + ;; (see bug #20272). + (parallel-build? #f) (compile-flags %compile-flags) (imported-modules %guile-build-system-modules) (modules '((guix build guile-build-system) @@ -159,6 +169,7 @@ (define* (guile-cross-build name #:source-directory #$source-directory #:scheme-file-regexp #$scheme-file-regexp #:not-compiled-file-regexp #$not-compiled-file-regexp + #:parallel-build? #$parallel-build? #:compile-flags #$compile-flags #:inputs %build-target-inputs #:native-inputs %build-host-inputs diff --git a/guix/build/guile-build-system.scm b/guix/build/guile-build-system.scm index 37a1654ce4..b497573c0a 100644 --- a/guix/build/guile-build-system.scm +++ b/guix/build/guile-build-system.scm @@ -145,6 +145,10 @@ (define* (report-build-progress total completed (define* (build #:key outputs inputs native-inputs (source-directory ".") (compile-flags '()) + ;; FIXME: Turn on parallel building of Guile modules by + ;; default after the non-determinism issues in the Guile byte + ;; compiler are resolved (see bug #20272). + (parallel-build? #f) (scheme-file-regexp %scheme-file-regexp) (not-compiled-file-regexp #f) target @@ -205,7 +209,7 @@ (define* (build #:key outputs inputs native-inputs (string-append source-directory "/" file) flags))) source-files) - #:max-processes (parallel-job-count) + #:max-processes (if parallel-build? (parallel-job-count) 1) #:report-progress report-build-progress)))) (define* (install-documentation #:key outputs -- 2.46.0