File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash -ex
2- CFLAGS=" -I$PREFIX /include -Wno-int-in-bool-context -mtune=generic $CFLAGS "
3- CXXFLAGS=" -Wno-int-in-bool-context -I$PREFIX /include -mtune=generic $CXXFLAGS "
4- LDFLAGS=" -L$PREFIX /lib $LDFLAGS "
5- PATH=" $PREFIX /bin:$PATH "
6- LDSHARED=$( python -c " import sys;from distutils import sysconfig;lds = sysconfig.get_config_var('LDSHARED').split(' ');print(' '.join(['$GCC '] + lds[1:]))" )
7- export CFLAGS CXXFLAGS LDFLAGS PATH LDSHARED
8- $PYTHON setup.py install --single-version-externally-managed --record=/dev/null
2+ export CFLAGS=" -I$PREFIX /include $CFLAGS "
3+ python setup.py install --single-version-externally-managed --record=/dev/null
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ source:
1010
1111requirements :
1212 build :
13- - python {{ python }}
1413 - {{ compiler('cxx') }}
14+ host :
15+ - python {{ python }}
1516 - git >=2.9.3
1617 - cython >=0.25
1718 - setuptools >=33.1
You can’t perform that action at this time.
0 commit comments