Gnu done on multiple host machines?

Clearmake has the ability to pass hostnames to run multiple jobs on these nodes, but gmake does not have the ability to skip multiple hosts, although multiple jobs can be transferred. I want to know how can I simulate this clearmake feature?

+4
source share
3 answers

The usual answer for people who want to distribute assemblies working with standard make tools like GNU on different systems is to use something like distcc .

+6
source

sfjac, GNU Make . ​​ .

- $(SHELL) , , , . script, ssh .

, . , Makefile - , .

, , ( , recipes ). - - ( rsync?) ( , ). clearmake ?

, , , Makefiles .

, , - .

+1

GNU make can run multiple processes on the same machine (see the -j option), but it is not configured to run multiple machines in parallel, which I think is what you want to do. There is a -C gnu option for clearmake that will make it emulate GNU make if you immediately after some GNU make functions (I have no experience with this option, but I noticed it in the YMMV documentation.).

0
source

All Articles