Skip to content

Commit a13e5de

Browse files
committed
Merge pull request #517 from akhilaananthram/numpy_fix
Upgraded numpy to 1.9.2
2 parents 7b9742f + d6974ef commit a13e5de

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ notifications:
5757

5858
before_install:
5959
# install gcc-4.8 for C++11 compatibility, #TODO remove when Travis has gcc>=4.8, (it's used for clang too, in coveralls)
60-
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get -qq update; sudo apt-get -qq install g++-4.8; alias gcc='gcc-4.8'; alias g++='g++-4.8'; sudo apt-get install -qq python-numpy; fi"
60+
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get -qq update; sudo apt-get -qq install g++-4.8; alias gcc='gcc-4.8'; alias g++='g++-4.8'; sudo pip install numpy==1.9.2; fi"
6161
- "if [ $CC = 'gcc' ]; then export CC='gcc-4.8' && export CXX='g++-4.8'; fi"
6262
- "if [ $CC = 'clang' ]; then export CXX=clang++; fi"
6363
# Install cpp-coveralls for reporting test coverage under only linux, see https://github.com/eddyxu/cpp-coveralls

appveyor-scripts/install_python_pip.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ function main () {
8181
Write-Host "pip install " wheel
8282
& $pip_path install wheel
8383

84-
Write-Host "pip install " numpy
85-
& $pip_path install -i https://pypi.numenta.com/pypi numpy
84+
Write-Host "pip install " numpy==1.9.2
85+
& $pip_path install -i https://pypi.numenta.com/pypi numpy==1.9.2
8686
}
8787

8888
main

external/common/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#See http://www.pip-installer.org/en/latest/requirements.html for details
2+
numpy>=1.9.2

src/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,8 @@ install(DIRECTORY "${NUMPY_CORE}/lib/"
724724
DESTINATION lib)
725725
install(DIRECTORY "${NUMPY_CORE}/include/"
726726
DESTINATION include)
727+
install(FILES "${REPOSITORY_DIR}/external/common/requirements.txt"
728+
DESTINATION .)
727729
if(UNIX)
728730
install(FILES "${PROJECT_BINARY_DIR}/libnupic_core.a"
729731
DESTINATION lib)

0 commit comments

Comments
 (0)