From 3316f04380185ea6d5cae27e8e214bc93bbafece Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Thu, 13 Sep 2018 12:04:37 +0200 Subject: [PATCH] Used jom for parallel windows builds (#12533) --- ci/build_windows.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/build_windows.py b/ci/build_windows.py index 5eca58db7b74..39cb85f45d34 100755 --- a/ci/build_windows.py +++ b/ci/build_windows.py @@ -149,7 +149,9 @@ def windows_build(args): check_call("cmake -G \"Visual Studio 14 2015 Win64\" {} {}".format(CMAKE_FLAGS[args.flavour], mxnet_root), shell=True) logging.info("Building with visual studio") t0 = int(time.time()) - check_call(["msbuild", "mxnet.sln","/p:configuration=release;platform=x64", "/maxcpucount","/v:minimal"]) + check_call( + ["msbuild", "mxnet.sln", "/p:configuration=release;platform=x64;BuildInParallel=true", "/maxcpucount", + "/v:minimal"]) logging.info("Build flavour: %s complete in directory: \"%s\"", args.flavour, os.path.abspath(path)) logging.info("Build took %s" , datetime.timedelta(seconds=int(time.time()-t0))) windows_package(args)