File tree Expand file tree Collapse file tree 6 files changed +38
-21
lines changed
Expand file tree Collapse file tree 6 files changed +38
-21
lines changed Original file line number Diff line number Diff line change 1+ cmake -G" NMake Makefiles" ^
2+ -DCMAKE_BUILD_TYPE=Release ^
3+ -DCMAKE_PREFIX_PATH=" %LIBRARY_PREFIX% " ^
4+ -DCMAKE_INSTALL_PREFIX=" %LIBRARY_PREFIX% " ^
5+ -DCMAKE_C_FLAGS=" -I%LIBRARY_PREFIX% \include" ^
6+ " %SRC_DIR% "
7+ cmake --build . --config Release --target ALL_BUILD
8+ cmake --build . --config Release --target install
Original file line number Diff line number Diff line change 1- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX
2- make install
1+ #! /bin/bash
2+
3+ if [[ $( uname) == Darwin ]]; then
4+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_OSX_DEPLOYMENT_TARGET=
5+ else
6+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX
7+ fi
8+ cmake --build . --config Release --target all
9+ cmake --build . --config Release --target install
Original file line number Diff line number Diff line change @@ -14,21 +14,20 @@ build:
1414 features :
1515 - vc9 # [win and py27]
1616 - vc10 # [win and py34]
17- - vc14 # [win and py35]
18- - vc14 # [win and py36]
17+ - vc14 # [win and (py35 or py36)]
1918
2019requirements :
2120 build :
21+ - m2-git [win]
22+ - m2-filesystem [win]
23+ - git [not win]
2224 - cmake
23- - python # [win]
24-
25- test :
26- requires :
27- - python {{ environ['PY_VER'] + '*' }} # [win]
28- commands :
29- - test -f ${PREFIX}/lib/libgpuarray.dylib # [osx]
30- - test -f ${PREFIX}/lib/libgpuarray.so # [linux]
31- - if not exist %PREFIX%\\Library\\lib\\gpuarray.lib exit 1 # [win]
25+ - mako
26+ - python
27+ run :
28+ - vs2008_runtime [win and py27]
29+ - vs2010_runtime [win and py34]
30+ - vs2015_runtime [win and (py35 or py36)]
3231
3332about :
3433 home : http://github.com/Theano/libgpuarray
Original file line number Diff line number Diff line change 1+ set LIB = %LIBRARY_LIB% ;%LIB%
2+ set INCLUDE = %LIBRARY_INC% ;%INCLUDE%
3+ %PYTHON% setup.py install --single-version-externally-managed --record=record.txt
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ export CFLAGS=${CFLAGS} " -I${PREFIX} /include -L${PREFIX} /lib"
4+ $PYTHON setup.py install --single-version-externally-managed --record=record.txt
Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ source:
1010
1111build :
1212 number : 0
13- script :
14- - export CFLAGS="${CFLAGS} -I${PREFIX}/include -L${PREFIX}/lib" # [unix]
15- - python setup.py install --single-version-externally-managed --record record.txt
13+ detect_binary_files_with_prefix : False
1614
1715requirements :
1816 build :
17+ - m2-git [win]
18+ - m2-filesystem [win]
19+ - git [not win]
1920 - python
2021 - cython >=0.25
2122 - numpy x.x
@@ -30,11 +31,6 @@ requirements:
3031 - six
3132 - libgpuarray =={{ version }}
3233
33- test :
34- imports :
35- - pygpu
36- - pygpu.gpuarray
37-
3834about :
3935 home : http://github.com/Theano/libgpuarray
4036 license : ISC
You can’t perform that action at this time.
0 commit comments