From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Parallel native compilation Date: Tue, 08 Nov 2022 13:43:01 +0200 Message-ID: <87tu39u0xm.fsf_-_@thaodan.de> References: <87bkqxf1ij.fsf@tethera.net> <87lepym6ok.fsf@trouble.defaultvalue.org> <877d1i9h7k.fsf@gnus.org> <83edvqyr3q.fsf@gnu.org> <874jwl8e4p.fsf@gnus.org> <87pmf64beo.fsf@gnus.org> <87h70i4a46.fsf@gnus.org> <87czb648r9.fsf@gnus.org> <874jwi47l6.fsf@gnus.org> <87zgea2sgv.fsf@gnus.org> <83leop528p.fsf@gnu.org> <877d09u2rb.fsf@web.de> <87k048pcka.fsf@gmail.com> <878rkmvvrb.fsf@thaodan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "Dr. Arne Babenhauserheide" , Eli Zaretskii , Juanma Barranquero , larsi@gnus.org, rlb@defaultvalue.org, monnier@iro.umontreal.ca, david@tethera.net, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 08 13:04:13 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1osNKv-0009Lk-5L for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Nov 2022 13:04:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osNJF-0000bG-U7; Tue, 08 Nov 2022 07:02:30 -0500 Original-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 1osN0W-0003xg-TH for emacs-devel@gnu.org; Tue, 08 Nov 2022 06:43:08 -0500 Original-Received: from thaodan.de ([185.216.177.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osN0T-0004mm-SJ; Tue, 08 Nov 2022 06:43:07 -0500 Original-Received: from odin (dsl-trebng12-b04885-76.dhcp.inet.fi [176.72.133.76]) by thaodan.de (Postfix) with ESMTPSA id 29DA7D08A07; Tue, 8 Nov 2022 13:43:02 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1667907782; bh=8m8NAxRY89VMINnGC9N0wOB/54hs3gVOcemEi1mq+7w=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=fz/YVoUCb73H7HkDYnzj4ICsMsDMjBN4bZd/ldITJuSUeV60NpKeVpGC5R2Jt70bY NSWQ+NT8ZFqIbNuY/JqYxGGi21rDVNlHIwlGD3o91tgaiqE0RjlvmixMSsRdSDIEaR 19YKiZ1ZwB6gf3wTIOttOtj7f0cL6AgPpp33mwHIJnsjb7TbP0fL4DD7//bV4QVgB9 btJBSIw3MOoX46+IIrnxiWR4wNzE46g49W7QTTUf38IDuI6U9t3uLNwD+MRYlU2cIx lWpdEe60zVjohs7wffVz7wnlEyU5XbH0nO6fRUj2mLmPig4/9eBWdF4tCWhOTP3c4T 5N/x3gFzHcifMNNf5rQPRWp+Dj+HaBLavYcAwVjs/PreG0zGzXGdfM0PjF7yrx/OmE dO6qvQEP3pZxdJrxsCRaSrBhsZmdrBuTlaIWOLr/B15O3tfTbSBK6waEmSFEXMcs/+ vqBwIKRhyykrbW3DzfBDd6mM1mb5ZIdZIwLKrsu/9hDKLJmYEF6ZWgZqBFcB2Z2Yyx +c0v8+vx+Eq23cALzX05iSrbcO5HgQP+HaRkUUIuy4jBVdP8/cBJis7HZrnX4/RNpA oFMPtqXvCBx4NYtjFaJ/8LeihJiMVu7GE1QkosfJHbnG9VBMykhW8SHU8OUV8GQpbG COfQ9IwBgFY3gLqCM44GuBN8= In-Reply-To: (Andrea Corallo's message of "Tue, 08 Nov 2022 11:23:35 +0000") Received-SPF: pass client-ip=185.216.177.71; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 08 Nov 2022 07:02:18 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299333 Archived-At: Andrea Corallo writes: > Bj=C3=B6rn Bidar writes: > >> Andrea Corallo writes: >> >>> Max Brieiev writes: >>> >>>> "Dr. Arne Babenhauserheide" writes: >>>> >>>>> My ~/.emacs.d/ is actually versiontracked as part of my repository, >>>>> because emacs is my build tool to compile org-mode to PDF and I need a >>>>> reproducible environment so others can use it, too. >>>> >>>> If Emacs is your build tool, then you probably run it in a batch mode. >>>> >>>> I think in one of his messages Andrea said that native compiler is >>>> disabled when Emacs is run in batch mode. >>> >>> Yep that's correct. >> >> But I think it possible to call `native-compile` in batch mode I think. >> I do this with borg to precompile all packages when I update them. > > Yes that's correct, only the machanism that automatically triggers async > native compilations is disabled but you can still invoke compilations > manually. What is the suggested what of doing so in parallel? While using borg I've noticed that doing so would be quite handy. It would also help to control the precompile process better when building emacs so that the build process can be amplified by increasing the parallel make jobs. Br, Bj=C3=B6rn