bpo-23404: make touch becomes make regen-all by vstinner · Pull Request #1405 · python/cpython (original) (raw)
I ran the following tests, all my tests passed.
!Warning! The "git clean -fdx" command removes all untracked files!
Build: it works.
git clean -fdx
./configure --with-pydebug
make
Rebuild: no error.
git clean -fdx
./configure --with-pydebug
make rebuild-all
Rebuild in a different directory. rebuild-all doesn't create any new file in ~/build_cpython/ (except of pgen and .o files), only replace files in the source directory (as expected).
git clean -fdx
mkdir ~/build_cpython
cd ~/build_cpython
~/prog/python/master/configure --with-pydebug
make rebuild-all
Build in a different directory: it works.
git clean -fdx
mkdir ~/build_cpython
cd ~/build_cpython
~/prog/python/master/configure --with-pydebug
make