unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Divya Ranjan <divya@subvertising.org>
Cc: Pjotr Prins <pjotr.public12@thebird.nl>,
	Olivier Dion <odion@efficios.com>,
	guix-devel@gnu.org
Subject: Re: On a Guile-based Build-Tool complimenting Guix
Date: Tue, 31 Dec 2024 07:01:55 +0100	[thread overview]
Message-ID: <20241231060155.hu5vlsg7ra7wu7p3@mailx.thebird.nl> (raw)
In-Reply-To: <BCAE5518-EC50-4909-AAC9-8E7893595223@subvertising.org>

On Sat, Dec 28, 2024 at 01:48:02AM +0000, Divya Ranjan wrote:
>    Hello Pjotr, glad to see that you'd be still interested in such a
>    project.
>    > Where it comes to other targets, such as Debian distros and all, it
>    is probably going to be too painful to handle to resolve all their
>    demands.
>    Can you elaborate on what exactly would be hard to figure out for a
>    Debian target?

Probably an idea to package some things for Debian, or study those?
It'll give a clear picture :). From my point of view these packagers
are pretty heroic.  Even my software gets quite a few Debian patches
to make it work.  Build systems go some way towards helping distros.

I think it gets most hairy when dependencies have to be addressed for
software that does not use pkg-config, for example. It is a mad world
out there (outside Guix ;). Also think conda etc. A clean build for
Debian an conda would be a great lithmus test.

>    And, I personally think just generating makefiles in Guile isn't really
>    going to be better. I mean it'll save someone from writing a Makefile
>    in, well, Make, but it will still have the issues of `make`. I believe
>    it is an alternate build system that we should try.

Sure, it may be worth creating a clean system. But I do note that both
meson and cmake chose to handle the build through make or ninja. There
must be a reason for that :)

Debian packagers tend to prefer meson, make and cmake (I don't know in
what order of preference).

Wrt supporting other distros outside guix - the reality is that
software authors need to distribute software. They will only adopt a
build system if it allows targeting those too. 

My simple needs as a software developer of tools that run everywhere are:

1- Clean and *fast* development build system on Guix
2- Allow generating reasonably clean builds for Debian, Conda etc.
3- Allow multi-language builds (think guile+zig or python+C++)

Maybe what you have in mind will cut it, I don't know. Maybe it is
good enough to target (1) and (3). But to replace meson and cmake you'd
need (2). 

Anyway, my 2cts. It is just an old train of thought. Start simple.
I'll definitely try your work if you come up with something that cuts
(1) and (3). Without (2) I'll probably still end up adding cmake for
distribution. 

When I was thinking about these ideas years ago I was thinking that
something that generates cmake in addition to compiling directly would
be quite a win. I really don't like cmake, but for now we have nothing
better. I have not been impressed by meson either. Generating make
instead of cmake will be much simpler, maybe easier, and probably cut
it too.

Pj.




  reply	other threads:[~2024-12-31  6:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-19 20:12 On a Guile-based Build-Tool complimenting Guix Divya Ranjan
2024-12-19 21:08 ` Sergio Pastor Pérez
2024-12-28  1:55   ` Divya Ranjan
2024-12-19 21:17 ` Janneke Nieuwenhuizen
2024-12-20  0:06   ` indieterminacy
2024-12-28  1:53   ` Divya Ranjan
2024-12-19 21:33 ` Olivier Dion
2024-12-21  7:53   ` Pjotr Prins
2024-12-28  1:48     ` Divya Ranjan
2024-12-31  6:01       ` Pjotr Prins [this message]
2024-12-28  1:38   ` Divya Ranjan
2024-12-28 17:50   ` Ludovic Courtès
2024-12-20 17:31 ` Attila Lendvai
2024-12-28  1:43   ` Divya Ranjan
2024-12-27  0:41 ` Fi
2024-12-28  1:51   ` Divya Ranjan
2024-12-31  1:58     ` Fi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241231060155.hu5vlsg7ra7wu7p3@mailx.thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=divya@subvertising.org \
    --cc=guix-devel@gnu.org \
    --cc=odion@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).