[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parallel Build with GNU make

From: Eli Zaretskii
Subject: Re: Parallel Build with GNU make
Date: Mon, 01 Feb 2016 21:14:17 +0200

> From: "Nagarjuna Badigunchala (RBEI/EAP4)"
>       <address@hidden>
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]