how to simulate --max-load option on windows

Adrian Muresan <[email protected]> Fri, 9 Sep 2016 18:32:14 +0000
Newsgroups gmane.comp.gnu.make.windows
Message-ID <CY1PR11MB0586615AC59445D2CCE90C96BEFA0@CY1PR11MB0586.namprd11.prod.outlook.com>
--===============7210512742787683914==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_CY1PR11MB0586615AC59445D2CCE90C96BEFA0CY1PR11MB0586namp_"

--_000_CY1PR11MB0586615AC59445D2CCE90C96BEFA0CY1PR11MB0586namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm using make 3.81 on windows doing parallel builds with this hack:

make all -j4 MAKE=3D"make -j4"

It works but I need a way to limit CPU usage or number of simultaneous make=
s.

I have to use 3.81 because it's part of our SDK but I tried make 4.2.1 on W=
indows and --max-load still doesn't work

--_000_CY1PR11MB0586615AC59445D2CCE90C96BEFA0CY1PR11MB0586namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;back=
ground-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
I'm using make 3.81 on windows doing parallel builds with this hack:
<div><br>
</div>
<div>make all -j4 MAKE=3D&quot;make -j4&quot;</div>
<div><br>
</div>
<div>It works but I need a way to limit CPU usage or number of simultaneous=
 makes.</div>
<div><br>
</div>
<div>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</div>
</div>
</body>
</html>

--_000_CY1PR11MB0586615AC59445D2CCE90C96BEFA0CY1PR11MB0586namp_--


--===============7210512742787683914==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Make-w32 mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/make-w32

--===============7210512742787683914==--