You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add HostBuildDependency
Main changes:
* we now have two "prefixes", one for the target and one for the host. To
implement this,
* `setup_workspace` takes in input the platforms of the target and the host,
and it creates the symlink
`/workspace/destdir` -> `/workspace/TARGET_TRIPLET/destdir`
* the user will call `setup_dependencies` twice, once for the host and once
for the target
* a new helper function `destdir(prefix, platform)` gives consistently the path
to the destdir for the given platform within the given prefix
* added relevant environment variables `host_*dir` in the runners, and add
`host_bindir` to the `PATH`
* added `is_host_dependency`, `is_target_dependency`, `is_build_dependency`,
`is_runtime_dependency` functions which are _very_ useful to filter
dependencies in different situations: as we add more and more of these
`AbstractDependency` types, there are multiple types matching each trait and
it's hard to consistently list all of them in all places
* Apply suggestions from code review
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
0 commit comments