mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] RFC: Make version selection.
Date: Sat, 19 Jun 2021 23:44:46 +0200	[thread overview]
Message-ID: <20210619214446.pra4s3tyan4tshi6@pengutronix.de> (raw)
In-Reply-To: <c107b7a0-d308-5809-27b2-76bab487694b@t2data.com>

On Fri, Jun 18, 2021 at 02:29:07PM +0200, Christian Melki wrote:
> Make 4.3 introduced a new set of incompatibility.
> 
> https://lwn.net/Articles/810071/
> 
> This rarely affects building, but sometimes it will.
> How about adding something like tool version selection?
> (Building a specific version perhaps?).
> Ptxdist seem rather content with just "some make", but since host version
> will undeniably affect the build success in some cases, how about making it
> an option?
> Host cmake is a host-rule f.ex?

This could result in a bit of yak shaving, because PTXdist host tools
are built using the normal PTXdist build system, which first feeds all
rule files to make and uses it for dependency generation. So make would
still be needed on the host to build the new host-make.

As an alternative, we could invent a special way to build the host-make
first (could be a static shell library function), and then restart
parsing the rules with the new host-make. But still then, at least one
make is needed on the build host to build PTXdist itself after the
./configure … :)

As another alternative, we could test for known make incompatibilities
on PTXdist startup and try to set up our rule files accordingly so they
built with all make versions. Maybe add a linter function too, if
possible.

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2021-06-19 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18 12:29 Christian Melki
2021-06-19 21:44 ` Roland Hieber [this message]
2021-06-20  5:45   ` Christian Melki
2021-06-25  7:50     ` Michael Olbrich

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

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

  git send-email \
    --in-reply-to=20210619214446.pra4s3tyan4tshi6@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox