From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Robert Pluim <rpluim@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Speeding up the bootstrap build - a quick hack.
Date: Fri, 21 Jan 2022 11:51:47 +0100
Message-ID: <87y239jr98.fsf@gmail.com>
References: <YeXQ4FszqwRcmD1v@ACM> <83pmopunzl.fsf@gnu.org>
 <jwvy23copq1.fsf-monnier+emacs@gnu.org> <83y23cu9bl.fsf@gnu.org>
 <YefxqJOoENL5x2XW@ACM> <835yqgt0bf.fsf@gnu.org> <YehBQy0b4Teq2nOU@ACM>
 <835yqfsln1.fsf@gnu.org> <YeiDbqXfJiH24axf@ACM>
 <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="25631"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Alan Mackenzie <acm@muc.de>, Eli Zaretskii <eliz@gnu.org>,
 monnier@iro.umontreal.ca, emacs-devel@gnu.org
To: Stephen Leake <stephen_leake@stephe-leake.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 21 12:27:24 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1nAs4i-0006VE-C9
	for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 12:27:24 +0100
Original-Received: from localhost ([::1]:37596 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1nAs4h-0001TJ-85
	for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 06:27:23 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:57634)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rpluim@gmail.com>) id 1nArWP-0003I3-DE
 for emacs-devel@gnu.org; Fri, 21 Jan 2022 05:51:57 -0500
Original-Received: from [2a00:1450:4864:20::334] (port=51026
 helo=mail-wm1-x334.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rpluim@gmail.com>)
 id 1nArWL-0001dN-Gz; Fri, 21 Jan 2022 05:51:55 -0500
Original-Received: by mail-wm1-x334.google.com with SMTP id 125so1172917wmc.0;
 Fri, 21 Jan 2022 02:51:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to
 :message-id:mime-version;
 bh=4ug0VJFNhupQpxO9rf6sXFZIzRcGEqXFaqdO0SpKX4k=;
 b=SQwDy1WcR/nxKT6db593LWlIICBGR2H4RnQPL87cZAlrDlZhYOjfNX1Rx2hkbemK2U
 iQtNeiMw2d0Au4JB8s+JrRqcCPF/qF4p4ryi7s3SFYu+SqxNTBzyVjplUETK3nBpRwmQ
 DyDhTsDsg52yr2PnWb+Cf/Q/0v/bro4ZvWNzJfcwsmyuEfDRfsSdU/mXSW8gVxoGjvYw
 wOB6ZMGxF0dG+/HUvvF4bVU8Iexu/w9dJILHLy3e7YAyo8btQ/Sjn/qu3Y/80vPVbob/
 08Z5z30EhEq3QRiEcRsRtf0Jkm+1/z1cT1ZjJbv/8NHKnoiFk2X5MZ6qxuy/lDvxrkXL
 gZyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references
 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version;
 bh=4ug0VJFNhupQpxO9rf6sXFZIzRcGEqXFaqdO0SpKX4k=;
 b=Nw3vKUdwlu5jVDMnFaRhAEeBlZX4+enRl7GTjFC0cc1h63ZtVJrGfHCB0wAnYTvIvQ
 J+JNkfORVCz1jZDFK3U9JcLkIv3hbLpt93A/VvngrhKn0ERnQ8swb34pGlRQl02xFvan
 fCTImeYWODuPAwm0YIPWdGkzSkh3zfmHW3vnBrhBSGv2iq9GH41MoFzKcAKPNj+wK4gA
 f5f/qp1PE0blrOF1qT8/7ninOE4eb66lLHPPbg+dT6F4kCMdwjMog3apf97+gqnL/otS
 IM3EwoSuWiaRU9eC2l8Uv0Ml4pEoxAjG+OG4zBwTBgEnjls8E2z3DlMUjDOOlWb53vLv
 MVgw==
X-Gm-Message-State: AOAM531eNeyUIcbdn+foosSbhrb/5aAEycOa21w3Xzl2RBerR9DaI4ev
 ricau0AtPeh4j4W3SjDEc/pihZ2N4YQ=
X-Google-Smtp-Source: ABdhPJxA2ce6nwRSy0Ln2Ydcf0sMnmouOEQApa62Vpfw/a/5NrxKsP8dwbSjdJRq3Vw6AMqZHyP7CQ==
X-Received: by 2002:a1c:5405:: with SMTP id i5mr227598wmb.34.1642762308453;
 Fri, 21 Jan 2022 02:51:48 -0800 (PST)
Original-Received: from rltb ([2a01:e0a:3f3:fb50:c6e0:de88:3686:619f])
 by smtp.gmail.com with ESMTPSA id k10sm225461wmi.1.2022.01.21.02.51.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Jan 2022 02:51:47 -0800 (PST)
Gmane-Reply-To-List: yes
In-Reply-To: <86k0etz91j.fsf@stephe-leake.org> (Stephen Leake's message of
 "Fri, 21 Jan 2022 02:18:32 -0800")
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::334
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::334;
 envelope-from=rpluim@gmail.com; helo=mail-wm1-x334.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001,
 PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:285119
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/285119>

>>>>> On Fri, 21 Jan 2022 02:18:32 -0800, Stephen Leake <stephen_leake@stephe-leake.org> said:

    Stephen> Alan Mackenzie <acm@muc.de> 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.

    Stephen> target :: VARIABLE := "value"
    Stephen> targ
    Stephen> Sets VARIABLE to value only while executing target.

    Stephen> I could not find the section in the make manual that says this, but it
    Stephen> must be there somewhere - that's how I learned it :(.

(info "(make) Target-specific")

Or from the top-level of the Make info file: 'Using variables' ->
'Target specific'.

Robert
--