[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PROPOSAL] Builder, a build system integration for Emacs

From: BTuin
Subject: Re: [PROPOSAL] Builder, a build system integration for Emacs
Date: Sun, 21 May 2023 21:33:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Le 21/05/2023 à 19:24, Jim Porter a écrit :
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

Nice, thanks for letting me know!

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.

Interestingly I already thought about chaining build systems, but I wasn't sure how to implement it. Unfortunately the main drawback of your method is that you can't easily switch between a debug or release mode (if I understood your code correctly). Also, what if an intermediate step is used in two different context, both with different next step?

I thought of something with a list of targets names, but I'll need to think more deeply. Currently you could achieve the same manually, but I agree it's not very convenient.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]