• Victor Stinner's avatar
    bpo-23404: make touch becomes make regen-all (#1405) · a5c62a8e
    Victor Stinner yazdı
    Don't rebuild generated files based on file modification time
    anymore, the action is now explicit. Replace "make touch"
    with "make regen-all".
    
    Changes:
    
    * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
    * Add a new "make regen-all" command to rebuild all generated files
    * Add subcommands to only generate specific files:
    
      - regen-ast: Include/Python-ast.h and Python/Python-ast.c
      - regen-grammar: Include/graminit.h and Python/graminit.c
      - regen-importlib: Python/importlib_external.h and Python/importlib.h
      - regen-opcode: Include/opcode.h
      - regen-opcode-targets: Python/opcode_targets.h
      - regen-typeslots: Objects/typeslots.inc
    
    * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN
    * pgen is now only built by by "make regen-grammar"
    * Add $(srcdir)/ prefix to paths to source files to handle correctly
      compilation outside the source directory
    
    Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make"
    default target building Python.
    a5c62a8e
Adı
Son kayıt (commit)
Son güncelleme
..
buildbot Loading commit data...
ccbench Loading commit data...
clinic Loading commit data...
demo Loading commit data...
freeze Loading commit data...
gdb Loading commit data...
i18n Loading commit data...
importbench Loading commit data...
iobench Loading commit data...
msi Loading commit data...
nuget Loading commit data...
parser Loading commit data...
pynche Loading commit data...
scripts Loading commit data...
ssl Loading commit data...
stringbench Loading commit data...
test2to3 Loading commit data...
tz Loading commit data...
unicode Loading commit data...
unittestgui Loading commit data...
README Loading commit data...