LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is a parallel "make" (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-a-parallel-make-291955/)

hywaydave 02-18-2005 02:14 PM

what is a parallel "make"
 
I'm going to install BIND, and when reading the README file on how to build it mentioned to do a ./configure and then make. It said to not do a parallel "make". what does this mean?

ralvez 02-18-2005 02:31 PM

I'm not sure about the use of this expression since I have not seen the context in which is was used but ... I wonder if it means not to do this:
<code>
./configure --prefix=PATH_TO_DIR && make && su -c 'make install"
</code>
The && allow the program to keep on going if the previous command did not return an error.

Hope this helps.

R.

Padma 02-18-2005 03:15 PM

Parallel make is a version of make that multi-threads. It is designed for multi-processor machines.

I would assume the problem here would be if it "made" some parts out of order (being in different threads) the resultant executable would not work (or work incorrectly).

Clementine 02-19-2005 11:16 AM

I think you can do a parallel make with the -j option of make.
make -j8 config will execute 8 jobs in parallel for "making" the config. You can see this happening in a watch window.


All times are GMT -5. The time now is 05:59 AM.