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: how to force the .eln files to be built Date: Tue, 13 Apr 2021 05:30:31 +0300 Message-ID: <83zgy229x4.fsf@gnu.org> References: <4d692d01-a87b-8adb-715a-24be9a05a27f@cornell.edu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30541"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 13 04:33:59 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 1lW8sI-0007of-Kp for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Apr 2021 04:33:58 +0200 Original-Received: from localhost ([::1]:44078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lW8sH-0004rZ-K0 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Apr 2021 22:33:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lW8pC-0003vu-S7 for emacs-devel@gnu.org; Mon, 12 Apr 2021 22:30:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41176) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lW8pB-00022J-QK; Mon, 12 Apr 2021 22:30:45 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4063 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lW8pA-0004Zg-J5; Mon, 12 Apr 2021 22:30:45 -0400 In-Reply-To: <4d692d01-a87b-8adb-715a-24be9a05a27f@cornell.edu> (message from Ken Brown on Mon, 12 Apr 2021 18:07:53 -0400) 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:267988 Archived-At: > From: Ken Brown > Date: Mon, 12 Apr 2021 18:07:53 -0400 > > Is there an easy way to force the .eln files to be built if the .elc files are > up to date? No, at least not for some value of "easy". (How would you do that for .elc files?) > I often have more than one build directory for a given source directory. The > different build directories might correspond to different configure options or > different architectures, for example. After building in one directory, the .elc > files in the source directory are all up to date. If I now build in a different > directory, the .eln files might be out of date or even non-existent, but they > don't get (re)built. I wrote a script that compiles all the preloaded *.el files, and I run that script in such situations.