Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Used jom for parallel windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lebeg committed Sep 12, 2018
1 parent 7ea0533 commit 3e53932
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e53932

Please sign in to comment.