This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 145515 - multicore C/C++ compilation / linking
Summary: multicore C/C++ compilation / linking
Status: RESOLVED DUPLICATE of bug 138945
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Vladykin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 01:43 UTC by jogshy
Modified: 2008-10-10 16:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jogshy 2008-08-29 01:43:15 UTC
Would be very good to use multicore CPUs to compile. You could modify Netbeans in a way that could compile a file for
each CPU core. For example, if my C/C++ project has the following files

one.cpp
two.cpp
three.cpp
four.cpp

and the user owns a dual core CPU then

one.cpp and two.cpp will be compiled using the CPU core #1
three.cpp and three.cpp will be compiled using the CPU core #2

Thanks.
Comment 1 Leonid Lenyashin 2008-08-29 09:51:31 UTC
As a quick solution you can add -j or --jobs flag to your make command in project properties.
But you probably right that we should do this for you.
Comment 2 avp 2008-08-29 11:33:51 UTC
But when this files has dependency how can you compile one before other? I think this(use CPU cores) must do
make/dmake/... tool how that do with -j flag
Comment 3 Alexey Vladykin 2008-10-10 16:21:16 UTC

*** This issue has been marked as a duplicate of 138945 ***