summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2018-06-06 16:58:40 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-06-06 15:05:04 +0000
commitb7631928d7271ac7573a2972e8f33dd141d04e16 (patch)
tree7293d212125bcf0942020bb97450f43158c98871
parentdeeb47d8bf051d124ea6e54b4c91645bc64435a9 (diff)
Error out when using --jobs=x with nmake on Windows
Change-Id: I6b5f974b15398e0926425b1eae24ee1a4813f48d Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--build_scripts/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index f288756c..dca37340 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -499,6 +499,9 @@ class PysideBuild(_build):
log.info("nmake was found in {}".format(nmake_path))
make_name = "nmake"
make_generator = "NMake Makefiles"
+ if OPTION_JOBS:
+ msg = "Option --jobs can only be used with 'jom' on Windows."
+ raise DistutilsSetupError(msg)
elif OPTION_MAKESPEC == "mingw":
make_name = "mingw32-make"
make_generator = "MinGW Makefiles"