Skip to content

Python-Build: Report envvar assignments and build command invocations #2999

Open
@native-api

Description

@native-api

When diagnosing problems with CPython's build logic, there arises the need to apply patches to the codebase and run the same commands as the build would run from the build tree.

Currently, the only way to learn them is to run the build in trace mode.

A better way would be to report any envvar assignments and configure/make command invocations into the build log, akin to what Homebrew does.

An even better way may be to not even do any envvar assignments Python-Build-wise but put them directly into configure/make invocations. That way, the invocation can be copy-pasted and run alone rather than having to copy-paste and run all the variable assignments before it as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions