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.          | [email protected]     |
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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to