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

Commit

Permalink
add variant in the environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Jan 17, 2019
1 parent aa7776c commit ac125d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1285,9 +1285,10 @@ deploy_jl_docs() {
# ...
}

build_static_python() {
build_static_python_mkl() {
set -ex
pushd .
export mxnet_variant=mkl
./ci/publish/python/build.sh
popd
}
Expand Down
4 changes: 2 additions & 2 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,9 @@ def test_static_python_cpu() {
return ['Static build CPU 14.04 Python' : {
node(NODE_LINUX_CPU) {
ws('workspace/ut-publish-python-cpu') {
withEnv(["mxnet_variant=mkl"]) {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run("publish.ubuntu1404_cpu", 'build_static_python', false, '500m','mxnet_variant')
utils.docker_run("publish.ubuntu1404_cpu", 'build_static_python_mkl', false)
}
}
}
Expand Down

0 comments on commit ac125d7

Please sign in to comment.