Last active
January 5, 2017 21:29
-
-
Save Torenable/a774f1cfe262c5a8e09336fc51ff5783 to your computer and use it in GitHub Desktop.
Build `mxnet` and `python-igraph`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compile `mxnet` | |
git clone --recursive https://github.com/dmlc/mxnet | |
cd mxnet | |
cp make/osx.mk ./config.mk | |
echo "USE_BLAS = openblas" >> ./config.mk | |
echo "ADD_CFLAGS += -I/usr/local/opt/openblas/include" >> ./config.mk | |
echo "ADD_LDFLAGS += -L/usr/local/opt/openblas/lib" >> ./config.mk | |
echo "ADD_LDFLAGS += -L/usr/local/lib/graphviz/" >> ./config.mk | |
make -j$(sysctl -n hw.ncpu) | |
# compile `python-igraph` | |
git clone --recursive -b release-0.7 https://github.com/igraph/python-igraph | |
# Install python package | |
sudo /usr/local/var/pyenv/versions/miniconda3-latest/envs/python34/bin/python3.4 setup.py install | |
sudo /usr/local/var/pyenv/versions/miniconda3-latest/envs/python35/bin/python3.5 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment