unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo <akrl@sdf.org>
To: Corwin Brust <corwin@bru.st>
Cc: Eli Zaretskii <eliz@gnu.org>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: Porting my conf to 28.0.60 (MS Windows + native-comp)
Date: Mon, 18 Oct 2021 08:38:04 +0000	[thread overview]
Message-ID: <xjfbl3maftf.fsf@ma.sdf.org> (raw)
In-Reply-To: <CAJf-WoSoRue4fwAiiCQOL4LFHez_aVQaSL4HOCqM4DG-YhGGJg@mail.gmail.com> (Corwin Brust's message of "Sun, 17 Oct 2021 20:51:02 -0500")

Corwin Brust <corwin@bru.st> writes:

> Hi again Eli, all.
>
> On Sun, Oct 17, 2021 at 2:20 PM Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> > From: Corwin Brust <corwin@bru.st>
>> > 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



  reply	other threads:[~2021-10-18  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-17 18:50 Porting my conf to 28.0.60 (MS Windows + native-comp) Corwin Brust
2021-10-17 19:20 ` Eli Zaretskii
2021-10-17 23:25   ` Corwin Brust
2021-10-18  1:51   ` Corwin Brust
2021-10-18  8:38     ` Andrea Corallo [this message]
2021-10-20  1:13       ` Corwin Brust
2021-10-18 12:16     ` Eli Zaretskii
2021-10-18 18:59 ` H. Dieter Wilhelm
2021-10-19 18:41   ` H. Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfbl3maftf.fsf@ma.sdf.org \
    --to=akrl@sdf.org \
    --cc=corwin@bru.st \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).