Bug 338856 - Execution of Windows's NMake shouldn't use parallel build
Summary: Execution of Windows's NMake shouldn't use parallel build
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Make (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2014-09-06 18:55 UTC by Nicolás Alvarez
Modified: 2015-12-30 10:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolás Alvarez 2014-09-06 18:55:14 UTC
Without any configuration, trying to compile on Windows/MSVC from KDevelop gives an error when running "nmake -j2", because nmake doesn't support parallel builds, and thus doesn't have a -j option.
KDevelop shouldn't pass the -j option when the build tool is nmake.
Comment 1 Kevin Funk 2015-12-30 10:27:16 UTC
Fixed.

commit 13da1b278439917a9904c051d04a3c53f0ef06df
Author: Gleb Popov <6yearold@gmail.com>
Date:   Thu Dec 17 16:50:16 2015 +0300

    Don't append -k and -j flags to command line when we are using nmake.
    Select default make tool based on which platform we are, not the compiler we using.
    On windows first try "make" (extremely rare), then "mingw32-make" and then "nmake".