More work on resolvers.

This commit is contained in:
Jelmer Vernooij 2021-02-08 17:47:39 +00:00
parent 2aab09121d
commit d89426738f
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8
9 changed files with 267 additions and 143 deletions

View file

@ -18,13 +18,13 @@
from .buildsystem import detect_buildsystems, NoBuildToolsFound
def run_build(session):
def run_build(session, resolver):
# Some things want to write to the user's home directory,
# e.g. pip caches in ~/.cache
session.create_home()
for buildsystem in detect_buildsystems(session):
buildsystem.build()
buildsystem.build(resolver)
return
raise NoBuildToolsFound()