GNU bug report logs - #58509
29.0.50; Synchronous nativecomp

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Fri, 14 Oct 2022 10:39:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58509 <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: bug#58509: 29.0.50; Synchronous nativecomp
Date: Fri, 14 Oct 2022 14:04:26 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 58509 <at> debbugs.gnu.org,  akrl <at> sdf.org
> Date: Fri, 14 Oct 2022 12:56:07 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> However, this also almost requires that we allow the nativecomp to
> >> happen synchronously -- the batch job may end before nativecomp finished
> >> otherwise, leading to cleanup problems and loss of efficiency.
> >
> > The above-mentioned functions do work synchronously.
> 
> `batch-native-compile' just calls `byte-compile-file' on the command
> line arguments.

It does?  I see this:

    (cl-loop for file in command-line-args-left
             if (or (null byte+native-compile)
                    (cl-notany (lambda (re) (string-match re file))
                               native-comp-bootstrap-deny-list))
             collect (comp--native-compile file)  <<<<<<<<<<<<<<<<<<<<<<
             else
             collect (byte-compile-file file))))

What did I miss?




This bug report was last modified 2 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.