Skip to content

Commit

Permalink
[mxnet] Upgrade native build mxnet version (#1517)
Browse files Browse the repository at this point in the history
Change-Id: I4904178bd0e4bb3d8bed86752eaa8a272ffdd1c3
  • Loading branch information
frankfliu authored Mar 2, 2022
1 parent 2a1441c commit af832e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/native_publish_mxnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Download native binaries
run: ./gradlew :engines:mxnet:native:dMNL
- name: Publish to snapshot/staging repository
working-directory: engine/mxnet/native
working-directory: engines/mxnet/native
run: ./gradlew publish -P${{ github.event.inputs.mode }}
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_signingKey }}
Expand Down
4 changes: 2 additions & 2 deletions engines/mxnet/native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

group = "ai.djl.mxnet"

def VERSION = "1.8.0"
def VERSION = "${mxnet_version}"
boolean isRelease = project.hasProperty("release") || project.hasProperty("staging")
version = VERSION + (isRelease ? "" : "-SNAPSHOT")

Expand Down Expand Up @@ -170,7 +170,7 @@ task downloadMxnetNativeLib() {
doLast {
def url = "https://publish.djl.ai/mxnet-${VERSION}"
def files = [
"linux/common/libgfortran.so.4.gz": "mkl/linux/native/lib/libgfortran.so.4",
"linux/common/libgfortran.so.3.gz": "mkl/linux/native/lib/libgfortran.so.3",
"linux/common/libgomp.so.1.gz" : "mkl/linux/native/lib/libgomp.so.1",
"linux/common/libopenblas.so.0.gz": "mkl/linux/native/lib/libopenblas.so.0",
"linux/common/libquadmath.so.0.gz": "mkl/linux/native/lib/libquadmath.so.0",
Expand Down

0 comments on commit af832e5

Please sign in to comment.