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: Off-tree builds Date: Fri, 04 Oct 2024 13:57:24 +0300 Message-ID: <86plogxhij.fsf@gnu.org> References: <874j5sth5q.fsf@wavexx.thregr.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8452"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 04 12:58:45 2024 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 1swg1F-0001wb-Ak for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Oct 2024 12:58:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swg0X-0005hv-2L; Fri, 04 Oct 2024 06:58:01 -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 1swg0V-0005hQ-3f for emacs-devel@gnu.org; Fri, 04 Oct 2024 06:57:59 -0400 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 1swg0U-0003pX-IS; Fri, 04 Oct 2024 06:57:58 -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=NS5gf4rZ0ZLXNphtFvq/ZydUnQZNEaB6ixf/ZSu05f0=; b=MU/XOnokBpw+ Tg2Y9sjYn6av4SV8HbjL/spy4DK7xKmwIlbzLyqYaxotDTSuya7/d58qb5+xdnHKI6CxMB4j7SxUE gzs5vMRZQjRcDuSJnV+Etpgjs24F3i2mXjH0Q3vlpZhu2fIYK4bZDQE8IyVbc+MHUjg1cTAirUOU8 I/6GfAxwxJpdL5S7WDkwaa3Zd7s0AeGbemxjANGUgoEstJhp5d6k6P9hnYZmbxisOi0lzsU37z51+ ioA3UNy8GoNWSa+ULiBLPwpdSp0hzoUNWIlqzKOJFRxSGpitbvJenREK+lME8EeCdrf/LjilHA6bf P209y2RxlxdY1p7HNgEH+g==; In-Reply-To: <874j5sth5q.fsf@wavexx.thregr.org> (emacs-devel@gnu.org) 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:324312 Archived-At: > Date: Fri, 04 Oct 2024 10:18:41 +0200 > From: Yuri D'Elia via "Emacs development discussions." > > I was using a few hacks to build emacs off-tree, by configuring inside a > subfolder of the source to get a separate build tree. > > This never worked quite right with bytecode and native compilation: > there are a few places where the location of the el/elc/eld files are > expected to be in the same tree. I was working this around with a few > symlinks so that I could still have the benefit of having different > builds for testing off a single source tree, but these hacks stopped > working lately. > > I wonder if there's some general interest in possibly improving the > build system to support this, or nobody sees it as an advantage? Please submit detailed bug reports about every such problem. Out-of-tree builds are supposedly fully supported, and I'm not aware of any problems, certainly not about them "never working quite right". The only situations I know of where an out-of-tree build could fail is if you also have an in-tree build or at least some of its artifacts. But in a clean source tree, an out-of-tree should "just work".