Skip to content
Numenta's experimental C++ research code. Please see htmresearch for more details.
Branch: master
Clone or download
mrcslws Merge pull request #86 from mrcslws/grid-uniqueness-hypercubes
Fix build. Specify std::abs rather than just abs.
Latest commit 6146fa7 Feb 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci DEVOPS-387: Use circleci to validate contributor license Nov 1, 2018
.githooks
bindings/py
ci DEVOPS-387: Use circleci to validate contributor license Nov 1, 2018
external fix swig path Sep 24, 2018
src
.clang-format Add .clang-format file from standard `clang-format -dump-config` Sep 6, 2015
.gitignore
.travis.yml
CMakeLists.txt Fix cmake nupic_core dependency Sep 18, 2018
CommonCompilerConfig.cmake
Dockerfile Download get-pip.py rather than rely on vendored Aug 18, 2016
LICENSE.txt
README.md
RELEASE.md RES-776: Add RELEASE instructions Sep 17, 2018
VERSION
appveyor.yml Use latest image Sep 21, 2018
setup.cfg
setup.py Changed all copyright headers on all files to AGPL. Aug 17, 2015

README.md

htmresearch-core

This repository contains the C++ source code for Numenta's htmresearch repository. Please read the htmresearch README.md for more context. All of those disclaimers also apply to this repository.

Build:

Environment:

  • $NUPIC_CORE is the current location of the nupic.core repository that you downloaded from GitHub.
  • $HTMRESEARCH_CORE is the current location of this repository that you downloaded from GitHub.

First, build nupic.core.

mkdir -p $NUPIC_CORE/build/scripts_release
cd $NUPIC_CORE/build/scripts_release
cmake ../.. -DCMAKE_INSTALL_PREFIX=../release -DCMAKE_BUILD_TYPE=Release -DNUPIC_IWYU=OFF -DNUPIC_TOGGLE_INSTALL=ON -DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/src/nupic/bindings
make -j6
make install

Then:

mkdir -p $HTMRESEARCH_CORE/build/scripts_release
cd $HTMRESEARCH_CORE/build/scripts_release
cmake ../.. -DCMAKE_INSTALL_PREFIX=../release -DCMAKE_BUILD_TYPE=Release -DNUPIC_IWYU=OFF -DLOCAL_NUPIC_CORE_INSTALL_DIR=$NUPIC_CORE/build/release -DPY_EXTENSIONS_DIR=$HTMRESEARCH_CORE/bindings/py/src/htmresearch_core
make -j6
make install

Install nupic.bindings and htmresearch_core Python libraries:

cd $NUPIC_CORE
ARCHFLAGS="-arch x86_64" pip install --user -e .
cd $HTMRESEARCH_CORE
ARCHFLAGS="-arch x86_64" pip install --user -e .
You can’t perform that action at this time.