Home | History | Annotate | Download | only in tools

Lines Matching refs:python

18 # Rebuild the host Python binaries from sources.
28 This program is used to rebuild one or more Python client programs from
33 By default, the script rebuilds Python for you host system [$HOST_TAG],
46 For example, here's how to rebuild Python 2.7.3 on Linux
50 --python-version=2.7.3 \
57 register_var_option "--python-version=<version>" PYTHON_VERSION "Select Python version."
66 register_var_option "--build-dir=<path>" BUILD_DIR "Build Python into directory"
84 # Python needs to execute itself during its build process, so must build the build
85 # Python first. It should also be an error if not asked to build for build machine.
88 # Make sure that the the user asked for the build OS's Python to be built.
91 panic "Cross building Python requires building for the build OS!"
160 # Sanity check for all Python versions.
162 PYTHON_SRCDIR=$TOOLCHAIN_SRC_DIR/python/Python-$VERSION
168 # Return the build install directory of a given Python version
170 # $2: python version
183 # $2: python version
186 echo "python-$2"
210 # $2: python version
213 local SRCDIR=$TOOLCHAIN_SRC_DIR/python/Python-$2
214 local BUILDDIR=$BH_BUILD_DIR/build-python-$1-$2
224 # Python considers it cross compiling if --host is passed
294 TEXT="$(bh_host_text) python-$BH_HOST_CONFIG:"
297 touch $SRCDIR/Python/graminit.c
309 bh_stamps_do host-python-$1-$2 build_host_python $1 $2
312 # Install host Python binaries and support files to the NDK install dir.
314 # $2: python version
322 dump "$(bh_host_text) python-$BH_HOST_ARCH-$2: Installing"
333 bh_stamps_do install-host-python-$1-$2 install_host_python $1 $2
335 # make sharedmods (setup.py) needs to use the build machine's Python
342 # Package host Python binaries into a tarball
344 # $2: python version