Skip to content

Build dependencies should be automatically generatedย #115992

@smontanaro

Description

@smontanaro

Bug report

Bug description:

Python's build dependencies are currently maintained semi-manually. This can create the occasional problem when building based on a previous build. The usual solution is either make clean, make distclean or git clean -fdx.

GCC and its related compilers have long supported dependency generation using the -M and related flags. Python should try to use this feature if possible.

(PR incoming...)

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux, macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-builddependenciesPull requests that update a dependency filetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions