Last active
February 21, 2018 23:38
-
-
Save rahul003/b1fe1e50697b60f6ad0a6324a7af472e to your computer and use it in GitHub Desktop.
MXNet on Mac with CMake
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
# install protobuf 25 | |
brew install wget | |
wget https://raw.githubusercontent.com/mli/deps/master/build/protobuf-2.5.0.tar.gz | |
tar -xvf protobuf-2.5.0.tar.gz | |
cd protobuf-2.5.0 | |
export CFLAGS=-fPIC | |
export CXXFLAGS=-fPIC | |
./configure | |
make -j 4 | |
make install | |
# jemalloc | |
brew install jemalloc | |
# tested without mkl and openmp for now | |
# used clang -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment