You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/09/13 10:04:50 UTC

[incubator-mxnet] branch master updated: Used jom for parallel windows builds (#12533)

This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 3316f04  Used jom for parallel windows builds (#12533)
3316f04 is described below

commit 3316f04380185ea6d5cae27e8e214bc93bbafece
Author: Anton Chernov <me...@gmail.com>
AuthorDate: Thu Sep 13 12:04:37 2018 +0200

    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 5eca58d..39cb85f 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)