-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guppy for diem/diem is ran differently, should we allow peeps to customize how guppy is run for their repo? #25
Comments
the V2 resolver is used for all the builds in docker files (via -Z flag, not via cargo x build) https://github.com/diem/diem/blob/18b6a51aff5f44fca19f0743672e708ace423a7c/docker/build-common.sh#L14 + https://github.com/diem/diem/blob/18b6a51aff/cargo-flags the cargo x build is only used in dev I believe? the workspace-hack is disabled here: https://github.com/diem/diem/blob/18b6a51aff5f44fca19f0743672e708ace423a7c/docker/build-common.sh#L21 |
OK, the quickest way to resolve this issue is to continue to call the command line In the future it'd be good to allow people to customize how guppy is called (for example if in release they use specific features, or a specific target) |
this would actually still be useful for custody (cc @jnaulty ) as they probably build for powerpc as target |
OK so I will re-integrate
|
The repo diem/diem is really particular in the way we have to analyze its dependencies. It only supports
x86_64-unknown-linux-gnu
so we need to check dependencies that are pulled when building with this triplet, it also does two other things when we build: it ignores thediem-workspace-hack
package and it uses the v2 cargo resolver instead of the default one.So the question is: should we allow peeps to customize how guppy is run on a repo when adding one?
The text was updated successfully, but these errors were encountered: