unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Andrea Corallo <akrl@sdf.org>, 40614-done@debbugs.gnu.org
Subject: bug#40614: 28.0.50; [feature/native-comp] straight.el fails to inject :straight keyword handler into use-package when use-package is native-compiled
Date: Sun, 19 Apr 2020 23:51:11 +0800	[thread overview]
Message-ID: <87d083wk28.fsf@localhost> (raw)
In-Reply-To: <xjfblnn1yur.fsf@sdf.org>

> PS for mitigating compile time I assume you already know the various
> tricks (deferred-compilation and/or speed).

Sure. Though I plan to move the native-compile branch to my system
installation. Deferred compilation of built-in packages will not be easy
there, unless I run Emacs as root.

Speed is actually not so big issue (at least to compile the built-in
elisp). The problem was that I tried to run make -j3 -> make -j2 -> make
-j1 hoping that less native-compilation processes would use less
memory. Everything, including make -j1 failed eventually and took a long
time because of using swap. Not sure what I can do for reducing memory
usage.

Best,
Ihor

Andrea Corallo <akrl@sdf.org> writes:

> Ihor Radchenko <yantar92@gmail.com> writes:
>
>> The issue is not reproducible anymore, though my emacs installation is
>> still not fully compiled. Running make on emacs source was stuck on
>> compiling ja-dic.elc, which eats out >8Gb of memory and crashes (I only
>> have 8Gb of RAM).
>>
>> I believe that partial compilation should not affect the MELPA packages
>> (they were fully compiled). So, this bug should be fixed as far as I can
>> tell.
>>
>> Best,
>> Ihor
>
> Hi Ihor,
>
> great to hear, thanks for checking!
>
> Closing then.
>
> Andrea
>
> PS for mitigating compile time I assume you already know the various
> tricks (deferred-compilation and/or speed).
>
> -- 
> akrl@sdf.org

-- 
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China
Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg





  reply	other threads:[~2020-04-19 15:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14  0:19 bug#40614: 28.0.50; [feature/native-comp] straight.el fails to inject :straight keyword handler into use-package when use-package is native-compiled Ihor Radchenko
2020-04-14 17:58 ` Andrea Corallo
2020-04-15  7:11   ` Ihor Radchenko
2020-04-15 22:21     ` Andrea Corallo
2020-04-19  9:42       ` Ihor Radchenko
2020-04-19 11:47         ` Andrea Corallo
2020-04-19 15:51           ` Ihor Radchenko [this message]
2020-04-19 17:45             ` Andrea Corallo
2020-04-20  7:47               ` Ihor Radchenko

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=87d083wk28.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=40614-done@debbugs.gnu.org \
    --cc=akrl@sdf.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).