From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Speeding up the bootstrap build - a quick hack. Date: Thu, 20 Jan 2022 10:25:26 +0100 Message-ID: <87fspilpx5.fsf@gmail.com> References: <83pmopunzl.fsf@gnu.org> <83y23cu9bl.fsf@gnu.org> <835yqgt0bf.fsf@gnu.org> <835yqfsln1.fsf@gnu.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="694"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 20 11:24:05 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 1nAUbt-000AdW-8B for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 11:24:05 +0100 Original-Received: from localhost ([::1]:34958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAUbs-0002Xg-57 for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 05:24:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAThE-0002oJ-Ah for emacs-devel@gnu.org; Thu, 20 Jan 2022 04:25:37 -0500 Original-Received: from [2a00:1450:4864:20::32e] (port=37475 helo=mail-wm1-x32e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAThC-00011O-0q; Thu, 20 Jan 2022 04:25:31 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id l12-20020a7bc34c000000b003467c58cbdfso20402827wmj.2; Thu, 20 Jan 2022 01:25:29 -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=t0e9mhcTfWEkLTASUVsAWvj8B11vtuDHp8XZWArL5ik=; b=nUbbW5sJ5UyuLhSFjeu6eXuv3T3g7I1WxCJuP75AJ1VeoBdlbfwKjun+hNmGWhJR+L 2zAj4A7CjimuW9xG8yRLkF4QJZG9cVQy7Ka7h9DA8/prODFixR3Bv+fqR2BCy2Eu/1Wp B+H1IQRrSRNqgCS1T2mS6c0gWokrXTBuNI5X7w1K9cit/zrRhga5HABV1ajBkA9doRXs R3UdpcsP2fGLr1d8IdCCN3ZJkdsjYt4GgYOHI75/LOrjGup7npT+KSo1sLNHHDvJK5pk fAFrp1uNn6faJ7lWubXdx8CMIUFh6Q9hBXWBQJD64Ymx9kJB7y1mGNR+tkYbpXjGJEA6 Y0Cg== 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=t0e9mhcTfWEkLTASUVsAWvj8B11vtuDHp8XZWArL5ik=; b=wP9zvvkFp13L3YqyCuZMcCqR++8uMgDu5gCyt6HG2cBZkhsApzTPCU99EJTI0BHggQ iju2V6WKhbFd6NWmoIubvz3nEz7fXHynkLnS9kCFgxksrr/42py8lj5gFmBXkCEtdTt9 WLhf4UE58rj9fxWrurEfTccKoTMqWlX1HLOQTNcWHt42D8tllrbn2hIebKkHwrtUk6we Svj7hnxaOYNxVe20ug1nik18RLW0O+CLor1be+BNSM6ZAfw99mh+z0Dt/1J7/i/l1+/3 Pot8MgllYNgM+rbykxEw5bbZUtI/WS+Q7ErUaVyifZSHIdrmMkVOIaezUWIFknbsDN6i Mqtw== X-Gm-Message-State: AOAM53047HDyACH7GfoL/oLJ7ar8Kjd8f29I29NiZtTtaoqSxL+zKUpY 9mxvf7sspSTSvEAulJFDHN0wo6xIsNI= X-Google-Smtp-Source: ABdhPJwolw2zx/ygi1GGmkXBWuh7KbdBNyutK5uQIwsESc503dJ1ZGmgOirPeUyA5yvlFxjfWisnrw== X-Received: by 2002:a5d:4a07:: with SMTP id m7mr11881493wrq.535.1642670727988; Thu, 20 Jan 2022 01:25:27 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:5497:eb2c:1716:483e]) by smtp.gmail.com with ESMTPSA id g4sm1751146wrd.12.2022.01.20.01.25.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 01:25:27 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: (Alan Mackenzie's message of "Wed, 19 Jan 2022 21:32:30 +0000") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32e.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." 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:285025 Archived-At: >>>>> On Wed, 19 Jan 2022 21:32:30 +0000, Alan Mackenzie said: Alan> This was surprisingly difficult to solve. There appears to be no way in Alan> make to set a variable depending on what the target is. The make manual Alan> doesn't say this explicitly, it just depends on vagueness. After an hour Alan> of searching for such a feature, it gradually dawns on you that there is Alan> no such feature, even though one might be expected. I'm glad the Emacs Alan> manuals aren't like that. "Target-specific Variable Values" in the Gnu Make info manual. eg Makefile: FOO=bar default: @echo FOO=$(FOO) foo: FOO=foo foo: @echo FOO=$(FOO) results: > make FOO=bar > make foo FOO=foo Robert --