[issue31934] Failure to build out of source from a not clean source

Xavier de Gaye report at bugs.python.org
Fri Nov 3 19:24:09 EDT 2017


Xavier de Gaye <xdegaye at gmail.com> added the comment:

To build out of the 'src' source tree (a subdirectory of the current directory) in a 'build' subdirectory:

$ ls -ld src
drwxr-xr-x 21 xavier xavier 4.0K Nov  3 23:50 src/
$ mkdir build
$ cd build
$ $(cd ../src && pwd)/configure && make

This is useful when you build for multiple platform configurations. For example on Android one can build for multiple API versions and multiple architectures (x86_64, armv7, aarch64, ...).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31934>
_______________________________________


More information about the Python-bugs-list mailing list