Closed Bug 793260 Opened 8 years ago Closed 3 years ago

Simple pymake API for evaluating a make file

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gps, Unassigned)

Details

Currently, when pymake evaluates a make file, it spins up an execution context and this executes and never returns.

This is inconvenient for people consuming pymake as an API because it effectively means you need to launch a new process to evaluate a make file or you need to use callbacks everywhere. Even if you use callbacks, the pymake.process.ParellelContext never finishes spinning, which is bad.

Anyway, I think it would be really handy if pymake had a Python native API that "just worked." You could instantiate a pymake.data.Makefile instance and then .run() it. That would do its thing and then return control to the caller once it finishes evaluating.

This is a minor feature enhancement and isn't high priority. Just a nice-to-have.
Mass close of pymake-related bugs.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.