marcoabreu commented on a change in pull request #10202: [MXNET-131] Refine 
build.py, misc fixes, tweak commandline, add help
URL: https://github.com/apache/incubator-mxnet/pull/10202#discussion_r179158068
 
 

 ##########
 File path: ci/build.py
 ##########
 @@ -147,30 +178,70 @@ def script_name() -> str:
     docker_binary = get_docker_binary(args.nvidiadocker)
 
     if args.list:
-        platforms = get_platforms()
-        print(platforms)
+        list_platforms()
 
     elif args.platform:
         platform = args.platform
-        if args.build:
-            build_docker(platform, docker_binary)
+        build_docker(platform, docker_binary)
+        if args.build_only:
+            return 0
 
 Review comment:
   Could you print a message that the process is exiting because build_only was 
set? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to