Skip to content

Commit

Permalink
Used jom for parallel windows builds (apache#12533)
Browse files Browse the repository at this point in the history
  • Loading branch information
lebeg authored and anirudh2290 committed Sep 19, 2018
1 parent 30b6a39 commit ae6b1f2
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 ae6b1f2

Please sign in to comment.