> From: "Nagarjuna Badigunchala (RBEI/EAP4)"
>       <nagarjuna.badigunch...@in.bosch.com>
> Date: Mon, 1 Feb 2016 11:18:38 +0000
> 
> Can somebody tell me how to use the parallelism feature of GNU make?
> I tried to use the following command for parallel build but it is not working.
> Make –j 7 –f makefile.mak build
> When I execute the above command, I can see that the GNU make is utilizing 
> 40%-60% of CPU. When I
> execute the same command using clearmake(clearmake –j 7 makefile.mak build) 
> process, I can see that
> it is always utilizing 80-100% of CPU. Which informs that the GNU make 
> process is not using the parallelism.
> Note: Versions of GNU make tested (3.81 and 4.1)

Add "--debug=j" to the make command-line switches and see if it
launches more than one command at a time.

Anyway, your makefile.mak file can be written in such a way as to
effectively prohibit parallelism, due to how it lays out dependencies.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to