When using distutils to build a C-extension, I have noticed that my C-sources were recompiled as soon as one source file has been touched; from python 2.6. This was not the case with previous python versions.
2012/4/22 Éric Araujo <report@bugs.python.org> > > Éric Araujo <merwok@netwok.org> added the comment: > > Is it #5372? > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue14517> > _______________________________________ > Yes, I think so. The problem is : For modules with a lot of .c, recompiling everything can take a very long time... In fact, it becomes very cumbersome for me and my co-workers... Is there a way to make the previous check on timestamps optional?
Hm, this change was done on purpose, because of the problems caused by stale object files (as explained on the other bug report), so it cannot just be reverted. distutils is also under a feature freeze, only clear bugs warrant a change, so a performance improvement request like this must target distutils2, if we could find a good way to do it.
History
Date
User
Action
Args
2022-04-11 14:57:28
admin
set
github: 58722
2014-03-13 07:45:15
eric.araujo
set
status: open -> closedresolution: works for mestage: resolved