mirror of https://github.com/kivy/kivy.git
Makefile: remove optimization for now, and do build_ext instead of install. (now we can debug.)
This commit is contained in:
parent
6eb8593fc9
commit
19e9410ed3
5
Makefile
5
Makefile
|
@ -23,13 +23,14 @@ ios-build:
|
|||
mkdir iosbuild
|
||||
|
||||
echo "First build ========================================"
|
||||
-USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py install -O2 --root iosbuild
|
||||
-USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py build_ext -g
|
||||
echo "cythoning =========================================="
|
||||
find . -name *.pyx -exec cython {} \;
|
||||
|
||||
ios-install:
|
||||
echo "Second build ======================================="
|
||||
USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py install -O2 --root iosbuild
|
||||
USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py build_ext -g
|
||||
USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py install -O0 --root iosbuild
|
||||
# Strip away the large stuff
|
||||
find iosbuild/ | grep -E '*\.(py|pyc|so\.o|so\.a|so\.libs)$$' | xargs rm
|
||||
-rm -rdf "../ios/python-for-iphone/Python-2.7.1-IOS5.0-device/lib/python2.7/site-packages/kivy"
|
||||
|
|
Loading…
Reference in New Issue