From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: [PROPOSAL] Builder, a build system integration for Emacs Date: Sun, 21 May 2023 10:24:54 -0700 Message-ID: References: <95980ffc-86e7-ad54-4a20-539d8c6ea5d0@mailo.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="7288"; mail-complaints-to="usenet@ciao.gmane.io" To: BTuin , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 21 19:25:35 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 1q0moI-0001hu-N0 for ged-emacs-devel@m.gmane-mx.org; Sun, 21 May 2023 19:25:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0mnk-0006jf-2f; Sun, 21 May 2023 13:25:00 -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 1q0mnj-0006jT-8H for emacs-devel@gnu.org; Sun, 21 May 2023 13:24:59 -0400 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0mnh-0001ev-JI for emacs-devel@gnu.org; Sun, 21 May 2023 13:24:59 -0400 Original-Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1ae763f9c0bso24113925ad.2 for ; Sun, 21 May 2023 10:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684689894; x=1687281894; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=RhRrwWUztlMwOezfFcVHWgZaDq4mh+AqkA5GmeuGhWs=; b=OdA+pPKaO/0MkxSnBoA0u+6gwVpvLQ7zmlyVr9AruD+q14E1RWRSaLNYx6QAn/URqB uQnQh2xuN2gtXMXDa041tFL+TXRBglo22tedkBacyehMjDHsz5ZjgxLZhtyXg3m48D5/ E9aXNfeV1l7tJkeDOONHvk2CKK1omm+DAO6Kd4sFwuaRh1uyRVtdZBjEfRcu7+RqaoGt Ce1UVAk8b0ffWyAykgk0HtRy6siO6F7q8YcFn10I/tegKugOjvtyrSjDNxPFSeHBQPju F9SjJ4yOkZV7Q6y7jjU//NkuNwsOK/KNFQ9TwDYFPsDSKdOisyJI/R2c/lRR1knEEYnY Wv/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684689894; x=1687281894; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RhRrwWUztlMwOezfFcVHWgZaDq4mh+AqkA5GmeuGhWs=; b=ChI08tTeWcHXIvrCP6AKh/pS2QYQJefzGcbi89P9eGebPf3L5V8vZfx0y8kQmSPdt9 3N5DYrbPIhGf3VtQB2x04PCvxUrQ1/s513IWcJg5D1jsuTw+CnFxvFLbP1cezX6BCIen thNrMVsBEWwVpNS1IZWrO45+5S+972rONPHvlqHmrj5X/fetANlD+htM3hz0h6UbUQJ9 HNj9gJoS/tXpQDMUE/lgdckIVF0FvM1UN8q25dsckMuPygtb+Jr8HiYUnoSZi55W7znM wfLimNwA+AaisteYbP4BeZPw+rdwZMmKdPxRTQGYGSv9uWwD9fIceyTYNl14O5WUllUt 4DTA== X-Gm-Message-State: AC+VfDwYFlFi6c11PfuoDoHzk1HdFO97APzKplSm5l4RSaBR/k6qVuaS 8xfp1yvj3WoGF4FDGHs68MA= X-Google-Smtp-Source: ACHHUZ5u1dr8rtwd7xObpN9KVWsQYHaGxLGHX3g3gR5eSVrDCotropHuo61K5f9cdJTe8RVcivZCLw== X-Received: by 2002:a17:903:22cf:b0:1ae:73b8:747e with SMTP id y15-20020a17090322cf00b001ae73b8747emr11354703plg.31.1684689894452; Sun, 21 May 2023 10:24:54 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id b23-20020a170902b61700b001a194df5a58sm3184367pls.167.2023.05.21.10.24.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 May 2023 10:24:54 -0700 (PDT) Content-Language: en-US In-Reply-To: <95980ffc-86e7-ad54-4a20-539d8c6ea5d0@mailo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x632.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:306253 Archived-At: On 5/21/2023 3:21 AM, BTuin wrote: > Hello, I would like to propose a new package to integrate in Emacs, > "Builder".  It provides integration with build systems, to ease the > configuration and the compilation process, by automatically detecting > the build system and proposing relevant commands. This loos interesting. I've actually been working (though not much lately) on a similar project by the name of "taco" (Tool Aware COmpilation[1]): https://github.com/jimporter/taco I haven't had time to look over your project in detail, but I see a few main differences. The biggest one is that taco divides the build process into mostly-independent stages. For example, an Autotools project uses three stages: preconfigure (generate "configure" from "configure.ac"), configure (generate "Makefile" from "configure"), and build (run the Makefile). This way, other build configurators that generate Makefiles can just piggyback on the "Make" builder for the actual compilation. [1] I'm sure I'd need to tweak this name to put it on GNU ELPA though (something like "taco-build" for the package identifier might make sense...)