how to simulate --max-load option on windows

2016-09-09 Thread Adrian Muresan
I'm using make 3.81 on windows doing parallel builds with this hack: make all -j4 MAKE="make -j4" It works but I need a way to limit CPU usage or number of simultaneous makes. I have to use 3.81 because it's part of our SDK but I tried make 4.2.1 on Windows and --max-load still doesn't work ___

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
kii wrote: >> From: Paul Smith >> Cc: Eli Zaretskii , "make-w32@gnu.org" >> Date: Wed, 22 Jun 2016 16:54:35 -0400 >> >>> On Wed, 2016-06-22 at 20:36 +, Adrian Muresan wrote: >>> Does batch_mode_shell = 1 mean that it always uses the sh.exe inste

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
57 PM, Paul Smith mailto:psm...@gnu.org>> wrote: On Wed, 2016-06-22 at 19:47 +0000, Adrian Muresan wrote: In config.h, I uncommented the line /* #define BATCH_MODE_ONLY_SHELL 1 */ this affects job.c static const char *sh_cmds_sh[] = { "cd", "eval", "ex

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
I ran using GNU make 3.81 from two different sources: once using the binary form sourceforge And once using the binary from QNX. QNX gave no error and SourceForge gave an error (the same error as 4.2, 4.2.1 I built and the 4.0+ binary version Eli told me to get from SourceForge). Doesn't th

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
Should I submit a bug report to the GNU make site? From: Eli Zaretskii Sent: Wednesday, June 22, 2016 1:55 PM To: Adrian Muresan Cc: make-w32@gnu.org Subject: Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line > From: Adrian Muresan > CC:

Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-22 Thread Adrian Muresan
Adrian Muresan has shared OneDrive files with you. To view them, click the links below. <https://1drv.ms/u/s!AouDUeFMNM8Rc5TvMVUbCBX0-yY> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://1drv.ms/u/s!AouDUeFMNM8Rc5TvMVUbCBX0-yY> 381-SForge.err<http

GNU make 4.2 (and 4.2.1) failing due to length of command-line

2016-06-21 Thread Adrian Muresan
For more complete info, go to here http://stackoverflow.com/questions/37932984/gnu-make-4-2-and-4-2-1-on-windows-bug I am making this target only deploy_marketProperties: echo Copying application data... && $(MKDIR) "C:/Users/User1/Desktop/A/Proj/src/../lib/armle-v7/release/marketProperties"