Skip to content

Commit dcd2c3c

Browse files
committed
Added build instructions to README.
Updated gitignore to ignore test hpps.
1 parent 33df5c1 commit dcd2c3c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ build/scripts/
1919
build/release/
2020
build/temp/
2121

22+
src/test/testeverything/everything_addtests.hpp
23+
src/test/testeverything/everything_headers.hpp
24+
2225
# /
2326
/.gdb_history

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,29 @@
55
**This README is incomplete!**
66

77
This repository contains the C++ source code for the Numenta Platform for Intelligent Computing ([NuPIC](http://numenta.org/nupic.html)). It will eventually contain all algorithms for NuPIC, but is currently in a transition period. For details on building NuPIC within the python environment, please see http://github.com/numenta/nupic.
8+
9+
## Build and test NuPIC Core:
10+
11+
Important notes:
12+
* $REPOSITORY is the current location of the repository that you downloaded from GitHub.
13+
14+
### Using command line
15+
16+
#### Configure and generate build files:
17+
18+
mkdir -p $REPOSITORY/build/scripts
19+
cd $REPOSITORY/build/scripts
20+
cmake $REPOSITORY
21+
22+
#### Build:
23+
24+
cd $REPOSITORY/build/scripts
25+
make -j3
26+
27+
> **Note**: -j3 option specify '3' as the maximum number of parallel jobs/threads that Make will use during the build in order to gain speed. However, you can increase this number depending your CPU.
28+
29+
#### Run the C++ tests:
30+
31+
cd $REPOSITORY/build/release/bin
32+
htmtest
33+
testeverything

0 commit comments

Comments
 (0)