From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54455) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihDih-00010t-SN for guix-patches@gnu.org; Tue, 17 Dec 2019 09:21:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihDig-0002xD-U6 for guix-patches@gnu.org; Tue, 17 Dec 2019 09:21:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihDig-0002x8-Gt for guix-patches@gnu.org; Tue, 17 Dec 2019 09:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihDig-0003rg-DN for guix-patches@gnu.org; Tue, 17 Dec 2019 09:21:02 -0500 Subject: [bug#38649] [PATCH] Parallelize `guix package` Resent-Message-ID: Date: Tue, 17 Dec 2019 14:20:40 +0000 (UTC) From: Brett Gilio Message-ID: <6dd517ad-639d-4932-be9c-2acbd889d1ed@localhost> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Prikler Cc: 38649@debbugs.gnu.org Dec 17, 2019 8:19:14 AM Leo Prikler : > Hi Guix! > > Yesterday I had an interesting conversation on IRC about the behaviour > of multiple `guix package` processes running in parallel. > Specifically, when two transactions target the same profile (usually > /var/guix/profiles/per-user/$USER/guix-profile) at the same time, one > of them will fail to claim the lock and abort. 0001 makes it so that > the process waits for the lock. 0002 makes it so that packages > specified via -i can be built in parallel. > > Regards, > Leo > Can we extend this to include things like environment --ad-hoc?