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

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Jan 17, 2019
1 parent 8cc7508 commit 8bb808b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,16 @@ deploy_jl_docs() {
# ...
}

build_scala_static_mkl() {
set -ex
pushd .
scala_prepare
export MAVEN_PUBLISH_OS_TYPE=linux-x86_64-cpu
export mxnet_variant=mkl
./ci/publish/scala/build.sh
popd
}

publish_scala_build() {
set -ex
pushd .
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_scala_cpu() {
return ['Static build CPU 14.04 Scala' : {
node(NODE_LINUX_CPU) {
ws('workspace/ut-publish-scala-cpu') {
withEnv(["MAVEN_PUBLISH_OS_TYPE=linux-x86_64-cpu", "mxnet_variant=mkl"]) {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run("publish.ubuntu1404_cpu", 'publish_scala_build', false, '500m', 'MAVEN_PUBLISH_OS_TYPE mxnet_variant')
utils.docker_run("publish.ubuntu1404_cpu", 'build_scala_static_mkl', false)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/staticbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This script would clone the most up-to-date master and build the MXNet backend w

- `DEPS_PATH` Path to your static dependencies
- `STATIC_BUILD_TARGET` Either `pip` or `maven` as your publish platform
- `PLATFORM` linux, osx
- `PLATFORM` linux, darwin
- `VARIANT` cpu, cu*, cu*mkl, mkl

It is not recommended to run this file alone since there are a bunch of variables need to be set.
Expand Down

0 comments on commit 8bb808b

Please sign in to comment.