THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Follow steps to clone the repo and checkout the correct release branch
Code Block | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
<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 | ||
---|---|---|
| ||
git push --force --delete ./ refs/heads/mxnet-parent_2.11-1.2.0 git tag -d mxnet-parent_2.11-1.2.0 |
...