Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use Parallel Compilation -j using sun make?

807575Sep 10 2008 — edited Sep 12 2008
Hello,

My c++ project have lots of cpp files and it takes around 5 - 5.5 hours to build the application which is definitely a lot of time. Little bit of googling landed me to the following sun link to reduce the build time.

http://developers.sun.com/solaris/articles/parallel_make.html

By using parallel make option of -j as it should reduce the build time considerably as i was using Solaris 9 on Sparc Sun-Fire-V440 which is having 4 CPU.


But on invoking make with a -j option i.e "make all -j 4" I get the following error :


make: Warning: Ignoring DistributedMake -j option

I even tried to use gcc make instead of sun(/usr/ccs/bin/make) make but none of them is actually helping me to reduce my build time.

Can some please guide me how should i go ahead withe usage of -j option on solaris.


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2008
Added on Sep 10 2008
6 comments
331 views