Skip to content

Instantly share code, notes, and snippets.

@rhyolight
Last active January 12, 2016 00:49
Show Gist options
  • Save rhyolight/278cdcdb6f89c9fc4785 to your computer and use it in GitHub Desktop.
Save rhyolight/278cdcdb6f89c9fc4785 to your computer and use it in GitHub Desktop.
Building nupic binaries for 0.2.7

This gist shows how to build NuPIC Core binaries for release 0.2.7.

Checkout NuPIC Core at tag 0.2.7

cd $NUPIC_CORE
git checkout 0.2.7
git clean -dfx

Build NuPIC Core

mkdir -p build/scripts
cd build/scripts
cmake $NUPIC_CORE -DCMAKE_INSTALL_PREFIX=../release -DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/nupic/bindings
make -j6 install

Build out python binaries

cd $NUPIC_CORE
python setup.py bdist_wheel bdist_egg

Discover the binary files

They should be in $NUPIC_CORE/bindings/py/dist. There should be a wheel and an egg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment