From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Speeding up the bootstrap build - a quick hack. Date: Fri, 21 Jan 2022 11:42:50 +0100 Message-ID: <87sfthbc9h.fsf@randomsample> References: <83pmopunzl.fsf@gnu.org> <83y23cu9bl.fsf@gnu.org> <835yqgt0bf.fsf@gnu.org> <835yqfsln1.fsf@gnu.org> <86k0etz91j.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29793"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) Cc: Alan Mackenzie , Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 21 12:12:59 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 1nArql-0007WV-2A for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 12:12:59 +0100 Original-Received: from localhost ([::1]:46252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nArqk-0004tv-4v for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 06:12:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nArNm-0000u5-J4 for emacs-devel@gnu.org; Fri, 21 Jan 2022 05:43:03 -0500 Original-Received: from zplane.randomsample.de ([192.145.45.252]:39894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nArNk-0008Vg-E4; Fri, 21 Jan 2022 05:43:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=laMwT2/tXgQBZZxmXZ15MPtV9NIQ1pctuODbO6NJQlM=; b=UwmopBs5nncvCJ88lKz2+Iatn sIzjyuJEgqZFJpl3bwjnFWYP+inxqHrk6fT+1fC0kxSgwPYakDQ4wiNFIZeg1MLoltpwCwNl4QQpr EsxzEHqYe7WFVFd6RKju0FLd72Om6uk2mb6F0znyeVd5eAR+Zt0gxmAokR9y6YePuiFDsvFCOjUwA p2CJqkYbLTDoCr7wKGdcc45QyVbbUM5n+HPDtBgyRrjgNbnhTw3jnyaRrCpQyfVoQw6/G7nF8Pvi4 Ll0AQSNfcaRy6GIDzWygYxmHKYhsj5BRFMptWroeX/1vFRQtIYB0iB3bHeveZaGCYtYlV3AD6Nhtz WABvhZjbg==; Original-Received: from ip5f5abad6.dynamic.kabel-deutschland.de ([95.90.186.214] helo=void) by zplane.randomsample.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nArNb-00049j-AT; Fri, 21 Jan 2022 11:42:51 +0100 In-Reply-To: <86k0etz91j.fsf@stephe-leake.org> (Stephen Leake's message of "Fri, 21 Jan 2022 02:18:32 -0800") Received-SPF: pass client-ip=192.145.45.252; envelope-from=deng@randomsample.de; helo=zplane.randomsample.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_NONE=0.001, SPF_PASS=-0.001 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" Xref: news.gmane.io gmane.emacs.devel:285117 Archived-At: > Alan Mackenzie writes: > >> This was surprisingly difficult to solve. There appears to be no way in >> make to set a variable depending on what the target is. > > target :: VARIABLE := "value" > targ > Sets VARIABLE to value only while executing target. > > I could not find the section in the make manual that says this, but it > must be there somewhere - that's how I learned it :(. It's called target-specific variables: https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html -David