From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Sharing native-lisp system load-path between builds Date: Mon, 26 Jun 2023 03:14:17 +0300 Message-ID: <871qhzjd0m.fsf@thaodan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18133"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 26 02:15:33 2023 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 1qDZtF-0004YU-4A for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Jun 2023 02:15:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDZsB-0000jL-SS; Sun, 25 Jun 2023 20:14:27 -0400 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 1qDZs9-0000is-5k for emacs-devel@gnu.org; Sun, 25 Jun 2023 20:14:26 -0400 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDZs7-00069K-3M for emacs-devel@gnu.org; Sun, 25 Jun 2023 20:14:24 -0400 Original-Received: from odin (dsl-trebng12-50dc76-249.dhcp.inet.fi [80.220.118.249]) by thaodan.de (Postfix) with ESMTPSA id 79988D08C0D for ; Mon, 26 Jun 2023 03:14:18 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1687738458; bh=NaBw2iby5wl5eHgkRhskim62oWDtYlqh1BxhhO8KqBk=; h=From:To:Subject:Date; b=LAFftUXTr+68NS1YOhhodJN5VD1Y4JrTcxt5bNENEDg8gbseGnrvCCU0enGoYiKmx L6PT5sl4U4yraZ60CFWkudjjxQvq0HYSqVPlsQ0cxznCy9nXVe6tzzNGBYTGfMLamw 1ocn5GD0MvXG8X6pjcXzI6Tw7CgrXq/vF7p7kGoxTPvJecc/muvDN1jD7HQoD/C2eS x2w/rcyvvvWlai0hWKyjXGt11M8NMTwRnioCo5YlzaIJ5lJ0fHutkmiCOFOmRKgAql Spoi++fxqn92JEHgmrf8ewSPrMrtZGH7z1FTLZn3dycZhuIl9AaZYOAwmIzJGkBAtx 65xHXPWQfoSoTAQiW2d6no/qK3CfEp0FKkhtzpcXLdeB8MCaNSWcUaqyhZ20sgjKa9 zHGWPA2MrkcskoXyXKjjHOFrRjFsTF2Q0MfHcxdCnkWtOa3OmDOB2nN0wO2EWrJrZ8 EycPqdi2L6nduN3OUn19xI+F1lqXPvSW+pdM9+qRCdTYqfBIl1BCg8aiwfv8qOXPht vnIJPeOPPuq/ALX18D/4GxqBP+Mu9hwIEdzayWAGC2mCgrsO5G89raPvWUSPlFmK8W FXUiaKA6O7puXDadANdFNiVl3DNfYM4QjM6TEBiUyYtESOUTIQe3QYF2tyH6VYzSkq T25xgznlDM/c/aFUh5Iwedm4= Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307220 Archived-At: Hey, I'm building Emacs master for OpenSUSE to provide testing. OpenSUSE packaging packages Emacs so that they have three builds with different feature sets: X11 without GTK, GTK and one build just without X11 or GTK. This helps different users to chose their preferred builds and keeps build workers small for Emacs packages build. The packages share the elisp, native-lisp ahead of time compilations and docs. Recently the native-lisp load path changed to change per Emacs executable. I don't know the exact commit when this changed but it was between ref 3c8167ec0f9647e6fc33e65b0a0324f96cb795ee and d46a2fa319808963bbe8d3a90e7dbb13fcd844f5. Now my questions: Is this a bug or can a different hash be used to determine the system load-path? It is very useful to precompile the lisp code once per emacs builds that share the same code. I tried to bisect when exactly this changed but didn't found the exact commit. My package can be found here: https://build.opensuse.org/package/show/home:Thaodan:emacs/emacs Thanks,=20 Bj=C3=B6rn Bidar