Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow steps to clone the repo and checkout the correct release branch

Code Block
languagebash
titleStaging Repo
cd ~/mxnet-$RELEASEVERSION
./scala-package/dev/compile-mxnet-backend.sh linux-x86_64-gpu ./

Follow steps from OSX

Build on GPU

Follow all steps for Linux-CPU

...

```echo "ADD_LDFLAGS += -L/lib/nccl/cuda-9.0/lib```

Code Block
languagebashtitleStaging Repo
cd ~/mxnet-$RELEASEVERSION
./scala-package/dev/compile-mxnet-backend.sh linux-x86_64-gpu ./

Using Package in Staging Repository

Update your pom file to include the repository info like below:

Code Block
languagexml
titleStaging Repo
  <repository>
    <id>snapshot</id>
    <url>https://repository.apache.org/content/repositories/staging</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.apache.mxnet</groupId>
    <artifactId>mxnet-full_2.11-osx-x86_64-cpu</artifactId>
    <version>1.2.0</version>
  </dependency>
</dependencies

Maven Publish Debugging 

If you find that maven release-prepare fails with tag already exists

Code Block
languagebash
git push --force --delete ./ refs/heads/mxnet-parent_2.11-1.2.0
git tag -d mxnet-parent_2.11-1.2.0

...