From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Porting my conf to 28.0.60 (MS Windows + native-comp) Date: Mon, 18 Oct 2021 08:38:04 +0000 Message-ID: References: <83k0ibfog0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28822"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , Emacs developers To: Corwin Brust Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 18 10:39:22 2021 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 1mcOB0-0007Jr-5z for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Oct 2021 10:39:22 +0200 Original-Received: from localhost ([::1]:60014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcOAy-0000oN-BU for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Oct 2021 04:39:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcO9x-00005I-8L for emacs-devel@gnu.org; Mon, 18 Oct 2021 04:38:17 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:55437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcO9v-0000a6-8p; Mon, 18 Oct 2021 04:38:17 -0400 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 19I8c4LN023420 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 18 Oct 2021 08:38:05 GMT In-Reply-To: (Corwin Brust's message of "Sun, 17 Oct 2021 20:51:02 -0500") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:277258 Archived-At: Corwin Brust writes: > Hi again Eli, all. > > On Sun, Oct 17, 2021 at 2:20 PM Eli Zaretskii wrote: >> >> > From: Corwin Brust >> > Date: Sun, 17 Oct 2021 13:50:08 -0500 >> > >> > Otherwise, my only concern has to do with "too many pipes" errors when >> > I remove my elpa folder and force Emacs to re-fetch all of my >> > "non-core" packages when it next starts-up. I would be grateful indeed >> > for any additional* workarounds the team could suggest for that issue. >> >> Does it happen only with Emacs 28, or with previous versions as well? > > I wasn't able to reproduce under Emacs 27.1 Just a naive question. Have you tried Emacs 28 non native compiled? >> If this doesn't help, please submit a bug report with all the details. > > Feel free to let me know otherwise, but I'm planning to wait for > Andras' reply to your note several hours back before I open a bug > report. It seems entirely possible I've not used the correct settings > in attempting to throttle this. Moreover, I forgot to commit the > changes to my .emacs, where I'd stuffed this bit: > > #+BEGIN_SRC emacs-lisp > > ;; tweaks for native-comp > ;; https://ddavis.io/posts/emacs-native-centos7/#deferred-and-asynchronous-compilation > ;; via https://github.com/jwiegley/emacs-async/issues/96 > ;; helper boolean I use here and later in my init.el > > (defconst my-using-native-comp > (and (not (version< emacs-version "28.0")) > (fboundp 'native-comp-available-p) > (native-comp-available-p)) > "Indicates we are using native compilation (via libgccjit).") > > (when my-using-native-comp > (message "Native compilation is avialable; throttling") > (setq native-comp-deferred-compilation t) > (setq native-comp-async-query-on-exit t) > (setq native-comp-async-jobs-number 4) > (setq native-comp-async-report-warnings-errors nil)) > > #+END_SRC I see nothing wrong with the settings above (but haven't looked into all your config). BR Andrea