From kdevelop-bugs Fri Nov 24 11:21:30 2006 From: Paul Fee Date: Fri, 24 Nov 2006 11:21:30 +0000 To: kdevelop-bugs Subject: [Bug 137815] New: Parallel make (-j) dialogue limits abilities of GNU Message-Id: <20061124122129.137815.pfee () talk21 ! com> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306959011070 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=137815 Summary: Parallel make (-j) dialogue limits abilities of GNU make Product: kdevelop Version: unspecified Platform: Ubuntu Packages OS/Version: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: pfee talk21 com Version: 3.3.5 (using KDE KDE 3.5.5) Installed from: Ubuntu Packages OS: Linux The dialogue box, Project/Project Options/Build Options/Make allows the user to control invocation of "make". The "Number of simultaneous jobs" box equates to the "-j" option for controlling parallel jobs with GNU make. The number selected is appended to the -j flag. This does not correctly model the functionality of the -j option. If -j is used without a number, GNU make will invoke as many parallel jobs as it can identify within the Makefile. The current dialogue item forces the user to select a number between 1 and 30. The number 30 is too low, the Sun UltraSparc T1 processor can execute 32 threads in parallel. The dialogue should have a check box for parallel builds. If not checked, don't use -j. This also addresses the issue that not all make programs understand "-j". Currently the user must select a number, even selecting "1" results in "-j1" being passed to make. KDevelop should not assume GNU make is being used. When parallel builds is checked, the user would then have the option to select the number of jobs. The number could be "unlimited" (i.e. -j without a following number), or an integer (e.g. "5" would equate to -j5). Thanks, Paul