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

wkcn 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 18d4051  Add publish test of PyPi cu100mkl (#14637)
18d4051 is described below

commit 18d40511fdd2f22350927f9fde3808e85eadc093
Author: Jake Lee <[email protected]>
AuthorDate: Fri Apr 19 00:25:50 2019 +0800

    Add publish test of PyPi cu100mkl (#14637)
    
    * test build with cu80
    
    * upgrade to cuda 10
    
    * update the Dockerfile
    
    * update scala gpu ci
    
    * downgrade the version to cu92
    
    * remove the scala gpu test
    
    * add scala gpu test back
    
    * remove the empty line
    
    * fix lint
    
    * undo nvidia docker image
    
    * retrigger CI
---
 ci/docker/runtime_functions.sh  | 10 +++++++++-
 ci/jenkins/Jenkins_steps.groovy | 15 ++++++++++++++-
 ci/jenkins/Jenkinsfile_unix_gpu |  3 ++-
 3 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh
index a89c51d..ac8033c 100755
--- a/ci/docker/runtime_functions.sh
+++ b/ci/docker/runtime_functions.sh
@@ -1327,7 +1327,7 @@ deploy_jl_docs() {
     # ...
 }
 
-build_scala_static_mkl() {
+build_static_scala_mkl() {
     set -ex
     pushd .
     scala_prepare
@@ -1345,6 +1345,14 @@ build_static_python_mkl() {
     popd
 }
 
+build_static_python_cu100mkl() {
+    set -ex
+    pushd .
+    export mxnet_variant=cu100mkl
+    ./ci/publish/python/build.sh
+    popd
+}
+
 publish_scala_build() {
     set -ex
     pushd .
diff --git a/ci/jenkins/Jenkins_steps.groovy b/ci/jenkins/Jenkins_steps.groovy
index 5b9ad47..ac1579a 100644
--- a/ci/jenkins/Jenkins_steps.groovy
+++ b/ci/jenkins/Jenkins_steps.groovy
@@ -521,7 +521,7 @@ def test_static_scala_cpu() {
         ws('workspace/ut-publish-scala-cpu') {
           timeout(time: max_time, unit: 'MINUTES') {
             utils.init_git()
-            utils.docker_run("publish.ubuntu1404_cpu", 
'build_scala_static_mkl', false)
+            utils.docker_run("publish.ubuntu1404_cpu", 
'build_static_scala_mkl', false)
           }
         }
     }
@@ -541,6 +541,19 @@ def test_static_python_cpu() {
   }]
 }
 
+def test_static_python_gpu() {
+  return ['Static build GPU 14.04 Python' : {
+    node(NODE_LINUX_GPU) {
+        ws('workspace/ut-publish-python-gpu') {
+          timeout(time: max_time, unit: 'MINUTES') {
+            utils.init_git()
+            utils.docker_run("publish.ubuntu1404_gpu", 
'build_static_python_cu100mkl', true)
+          }
+        }
+    }
+  }]
+}
+
 def test_unix_python2_cpu() {
     return ['Python2: CPU': {
       node(NODE_LINUX_CPU) {
diff --git a/ci/jenkins/Jenkinsfile_unix_gpu b/ci/jenkins/Jenkinsfile_unix_gpu
index f6191de..5d0a37b 100644
--- a/ci/jenkins/Jenkinsfile_unix_gpu
+++ b/ci/jenkins/Jenkinsfile_unix_gpu
@@ -59,7 +59,8 @@ core_logic: {
     custom_steps.test_unix_python3_integration_gpu(),
     custom_steps.test_unix_cpp_package_gpu(),
     custom_steps.test_unix_scala_gpu(),
-    custom_steps.test_unix_distributed_kvstore_gpu()
+    custom_steps.test_unix_distributed_kvstore_gpu(),
+    custom_steps.test_static_python_gpu()
 
     // Disabled due to: https://github.com/apache/incubator-mxnet/issues/11407
     //custom_steps.test_unix_caffe_gpu()

Reply via email to