-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello there!
After reading a blog post linked on Hacker News, I added a new
Makefile variable, #J, which stores the number of parallel jobs, that
is the command-line parameters -j and --jobs (corresponding to the
job_slots variable in the source code)
I don't know if this can help but if so, feel free to merge my make
repository from:
https://github.com/esantoro/make
The license of the code is the same as GNU Make.
Example:
- -----------------------------------------------
manu@nadia ~/sources/make/test $ ./../make
Jobs: 1
manu@nadia ~/sources/make/test $ ./../make -j2
Jobs: 2
manu@nadia ~/sources/make/test $ ./../make --jobs 32
Jobs: 32
manu@nadia ~/sources/make/test $ cat Makefile
default: Makefile
@echo Jobs: ${#J}
- -----------------------------------------------
Have a nice day/night,
- --
Emanuele Santoro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlUXWH8ACgkQa3jIggJUg2nLxQCfeHxkgkVA3gWYD4KoIRUZO8Wq
gFUAn13pqerA3W7sftQNtfu/ygpJqdWb
=xbKl
-----END PGP SIGNATURE-----
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make