zachgk commented on a change in pull request #16374: Wheel script fix URL: https://github.com/apache/incubator-mxnet/pull/16374#discussion_r331692109
########## File path: tools/staticbuild/README.md ########## @@ -46,4 +46,19 @@ It is not recommended to run this file alone since there are a bunch of variable After running this script, you would have everything you need ready in the `/lib` folder. ## `build_wheel.sh` -This script builds the python package. It also runs a sanity test. +This script builds the python package(statically linked). It also runs a sanity test. + The command `source tools/staticbuild/build.sh <Arg1> <Arg2>` performs `cp $HOME/incubator-mxnet/make/pip/<Arg2>_linux_<Arg1>.mk $HOME/incubator-mxnet/config.mk` +- $1 can be 'pip' or 'maven' +- $2 can be cu100, cu101, cu100mkl, cu101mkl, mkl etc. + +Refer to files inside folders $HOME/incubator-mxnet/make/pip and $HOME/incubator-mxnet/make/maven to know all the possible combinations + +#### `Usage:` +``` +tools/staticbuild/build_wheel.sh cu92 maven Review comment: You are building the pip wheel with maven settings here. Also, add headings to better separate the examples ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
