From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: native compilation units Date: Mon, 06 Jun 2022 13:39:33 +0300 Message-ID: <83o7z6849m.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10863"; mail-complaints-to="usenet@ciao.gmane.io" Cc: owinebar@gmail.com, akrl@sdf.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 06 12:45:00 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 1nyAEF-0002aJ-Lr for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Jun 2022 12:44:59 +0200 Original-Received: from localhost ([::1]:50172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyAEE-000681-GE for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Jun 2022 06:44:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyA9D-00043d-CF for emacs-devel@gnu.org; Mon, 06 Jun 2022 06:39:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyA9C-0000Ew-Fr; Mon, 06 Jun 2022 06:39:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TY/2ScC6lQ+lZ73iPwzRWYCOpkMf4/Dzlk0i9lhmiLk=; b=f2lxy9qiDG6j E2zvfJBEzk8qa8P56l4WK+i2g5bnbhtK3v3rIoQpTLDqvD/A0qeGIamXpi+M/35QJDJEojQ6rZZdL XEh9Hrdf0yyxfkxaAU9/r/zc5vTRNzno2qbztpjAMuUQbG49Nbm036+EX7ULCOkicscrHYztACGfh ap3kwnGKGrt0KtImJCUAayf8doEH9C+KKOhbu5udzon40z0BroIzhjmRZsNPTVC+V13HWo+1HhC0T 46jzio+oh3xCKn3GTU7sg2mmwLxq/ZHS1Tt4WJWSqcUWQZxdn4HunS1vk1q/S4fU3DMsIgmSGs8Yp IalywgqVESuNCLKeFFeu3Q==; Original-Received: from [87.69.77.57] (port=4683 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyA9B-0000xw-GK; Mon, 06 Jun 2022 06:39:46 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 06 Jun 2022 02:12:30 -0400) 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" Xref: news.gmane.io gmane.emacs.devel:290780 Archived-At: > From: Stefan Monnier > Cc: Andrea Corallo , emacs-devel@gnu.org > Date: Mon, 06 Jun 2022 02:12:30 -0400 > > > That would explain the behavior I've seen. If that's the case, shouldn't > > batch-native-compile produce the byte-compiled file if it doesn't exist? > > Sounds about right, tho maybe there's a good reason for the current > behavior, I don't know. Of course, there is: that function is what is invoked when building a release tarball, where the *.elc files are already present. See lisp/Makefile.in.