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.bugs Subject: bug#74382: `compile-first` Make rule is no longer using `load-prefer-newer` Date: Mon, 18 Nov 2024 14:59:00 +0200 Message-ID: <86cyisvgtn.fsf@gnu.org> References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.camel@yandex.ru> <861pz9x45w.fsf@gnu.org> <86zflxvoux.fsf@gnu.org> <7b07de9fd995f14e3b4d675c7288108dbe57209c.camel@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35607"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 74382@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 18 14:00:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tD1Mf-00096Q-86 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Nov 2024 14:00:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD1MP-0006vj-J7; Mon, 18 Nov 2024 08:00:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD1MJ-0006u7-Kb for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 08:00:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tD1MJ-0006k0-0x for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 08:00:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=0CE9Qm576y7ZeM6LZqkZBTG+VdkGc0GVf2mjiI0y+G8=; b=beKcS4RdRA/hjIvsOMgQB0tetCkvHYnMOFlkLjHzDzrJwuAUShoyjcHX0M9KMY5TS1XRr93gkhKjsfUEfWLVENTxkLuiaPUkx0CUFEPENesjktlc0l38CLYFZfYXkdpKh9T6etWMQPYcrobt+m9cKgUHe1PriQJqfB2MQq0GqRUKA3GFk4HC6+vgcL1uePa8Onnl3SbwQIstMKfp/TSlL4kDp6d5WV5Olikd5CYnMh4Erz63xoHUhKoGSFSY7BC8zPnP0qHFNVUlUtm7PUuTc/CyI8chBY0SQABN7aAlaPgWk9jPXwaObz5mvhZPIcojlLqmZKMlt5dmad3GAlnKIA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tD1MI-0000cG-Np for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 08:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2024 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74382 X-GNU-PR-Package: emacs Original-Received: via spool by 74382-submit@debbugs.gnu.org id=B74382.17319347542277 (code B ref 74382); Mon, 18 Nov 2024 13:00:02 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 18 Nov 2024 12:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:60470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD1LW-0000af-CY for submit@debbugs.gnu.org; Mon, 18 Nov 2024 07:59:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD1LU-0000aR-7E for 74382@debbugs.gnu.org; Mon, 18 Nov 2024 07:59:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD1LO-0006YM-O6; Mon, 18 Nov 2024 07:59:06 -0500 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=0CE9Qm576y7ZeM6LZqkZBTG+VdkGc0GVf2mjiI0y+G8=; b=SHq6RLyiCCiT Dlb0PSFS1diI50UmrFBVpLZMpIvqPt9CrFnGSO5UPVHmY0UgoOeDfNKtZfOsbqc5qcBgB78KWdbXJ H16kfFufrU6a16KpJizHURfckN4aWwS+EFwcFPZkXtABy3E84pxNjtZspOWXpECNnljSBJ0EgDCKP kyKJyu+0xBrc7DZSK3qoeOWrFOAPomSPPhhI/bOTxiHM6NTcsY4AjikBT5M7nwc1An0qBKY13uwUR A0SDaVfX+XQg0kE+1llvOz0qGKF2XmF5p40v3QkzyCBGlfKugF0YZDJuSThL3+lOs943A6KhZ/rpE qo16TPMiamaTCBXEgC4PKQ==; In-Reply-To: <7b07de9fd995f14e3b4d675c7288108dbe57209c.camel@yandex.ru> (message from Konstantin Kharlamov on Mon, 18 Nov 2024 13:05:54 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295594 Archived-At: > From: Konstantin Kharlamov > Cc: Eli Zaretskii , acm@muc.de, 74382@debbugs.gnu.org > Date: Mon, 18 Nov 2024 13:05:54 +0300 > > Btw, thank you, this bit of history indeed is interesting. During whole > discussion I had a question on the back of my mind: how this > "distribute pre-built elc in tarballs" idea initially came to be. I > mean, it's kind of nice from POV of saving a bit of energy around the > world on CI machines, but I don't see much beyond that. Building elc > files is not *that* bad for elc distribution to be strictly necessary. Once again, building all the *.elc files takes a long time, even on modern systems. I have a 32-core screamer, and it still takes a few minutes to byte-compile everything. On an older system, it used to take me 15 minutes even in parallel (-j4) builds. Computers got much faster, but people know that, so they have less patience. Thus, avoiding recompilation of the *.elc files (and Info, and other derived files) is still important to make the build faster. A release tarball builds in less than 1 min due to these measures. > Now that you told this, I realize it's just a solution to a problem > from 25 years old back, from times when that actually was a problem. I don't understand this conclusion. What problem existed 25 years ago that is related to "make clean" or to load-prefer-newer, and doesn't exist anymore?