Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-23404: make touch becomes make regen-all #1405

Merged
merged 1 commit into from May 3, 2017
Merged

bpo-23404: make touch becomes make regen-all #1405

merged 1 commit into from May 3, 2017

Commits on May 3, 2017

  1. bpo-23404: make touch becomes make regen-all

    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.
    vstinner committed May 3, 2017
    Configuration menu
    Copy the full SHA
    12ad6d2 View commit details
    Browse the repository at this point in the history