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?Augustin_Ch=c3=a9neau_=28BTuin=29?= Newsgroups: gmane.emacs.devel Subject: Re: [PROPOSAL] Builder, a build system integration for Emacs Date: Thu, 25 May 2023 21:36:05 +0200 Message-ID: References: <95980ffc-86e7-ad54-4a20-539d8c6ea5d0@mailo.com> <3f68f4bc-d426-0bcc-1329-674c12b29386@mailo.com> <76e12f7c-335f-476b-ffb3-fd8e8e4ab5d0@mailo.com> <87pm6rx4ea.fsf@yahoo.com> <87lehcsne6.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 25 21:36:56 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 1q2Glb-0006KN-Tj for ged-emacs-devel@m.gmane-mx.org; Thu, 25 May 2023 21:36:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2Gkv-0006v5-6O; Thu, 25 May 2023 15:36:13 -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 1q2Gkt-0006ux-FM for emacs-devel@gnu.org; Thu, 25 May 2023 15:36:11 -0400 Original-Received: from msg-2.mailo.com ([213.182.54.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2Gkr-0007Dk-AQ for emacs-devel@gnu.org; Thu, 25 May 2023 15:36:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1685043366; bh=2cbO6+NRExHQBX/Zhi4vRPIveF8NOZ/MTIjrggH8nfM=; h=X-EA-Auth:Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=iAmnr8CvXn+AVg6ysmK7kQfzIHYgLBL6506J8Z0+DFjuZN7gfj66VxLszoqgFWUGu L/4tgXn8ziRtLyjnnHM5n8si6feKzdnTvKa6xGvt7zJdBihF1hepRS1EBXhYVDOJCP 5HmogIJATDcwLAW5Hrl5M/1vsuW3y/QmfcxkL77I= Original-Received: by b221-6.in.mailobj.net [192.168.90.26] with ESMTP via ip-20.mailobj.net [213.182.54.20] Thu, 25 May 2023 21:36:06 +0200 (CEST) X-EA-Auth: H8qLMUusRhn1cWuBLgJDoWV6jZ7CWESpByTRpu8qZH/zqRucQO8kTbW0F/gO77Qqx1L7APYUjRo5ZWddCWE6l0YjBG30XjY1 Content-Language: fr, en-US In-Reply-To: <87lehcsne6.fsf@yahoo.com> Received-SPF: pass client-ip=213.182.54.12; envelope-from=btuin@mailo.com; helo=msg-2.mailo.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.091, SPF_HELO_NONE=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:306340 Archived-At: Le 25/05/2023 à 12:42, Po Lu a écrit : > "Augustin Chéneau (BTuin)" writes: > >> First, you execute `builder-configure' which detects the build system, >> finds Autotools and asks you to chose between "minimal", "regular", >> and others. Once you've chosen, the minibuffer is filled with the >> "minimal" command (for example `../configure --without-threads >> --without-toolkit-scroll-bars`. You press enter, the command is >> executed in a compile buffer. > > How does Builder determine what is ``minimal'' and what is ``regular'', > given what I assume is M4 trace output from autom4te? > Here "minimal" and "regular" were just placeholder names. They could have been named "random_name1" and "random_name2" for that matter. It was meant to show that you could define your own targets manually (i.e. a command associated with a name) to conveniently execute them rather than having to rewrite them entirely each time you need them. I don't know if it's actually possible to determine what is "minimal" and what is "regular" from M4, but if such a thing is possible you could provide a lisp function to Builder that would automatically supply you with the suitable commands.