Neil Schemenauer added the comment:

Okay, my initial idea was wrong (I blame years of not having to look at 
Makefiles).  I think the attached patch works.  It uses a "stamp" file to 
record the fact that the profiled build is complete.

The fix is sub-optimal because changing some source code and re-running "make" 
will not rebuild as needed.  That would require proper dependencies in the 
Makefile, rather than treating "make" as an imperative scripting language (e.g. 
recursively calling make to sequence things).  Given that the profile optimised 
build is unlikely to be used during development, I guess that's not so bad.

----------
Added file: http://bugs.python.org/file45398/profile-opt-stamp.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to