Skip to content
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

[Build] allow for empty RUST_TARGET in offline builds #1792

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

Fuzzbawls
Copy link
Collaborator

The RUST_TARGET variable only applies when cross-compiling. Build
systems like launchpad and copr don't cross compile, but also need
pre-vendored rust sources as they don't allow network access during the
build stage. In this situation, the RUST_TARGET variable is empty.

This will fix our nightly PPA builds on Launchpad, and is supported by
additional changes in my pivx-packaging repo, as well as a new
rust-vendored-sources repo, both hosted on launchpad.

A separate PR will
be made to fix our nightly Snap builds, which will either entail re-working
how those builds are done, or rewrite the rust.mk descriptor.

The RUST_TARGET variable only applies when cross-compiling. Build
systems like launchpad and copr don't cross compile, but also need
pre-vendored rust sources as they don't allow network access during the
build stage. In this situation, the RUST_TARGET variable is empty.
@Fuzzbawls Fuzzbawls added this to the 5.0.0 milestone Aug 8, 2020
@Fuzzbawls Fuzzbawls self-assigned this Aug 8, 2020
@Fuzzbawls
Copy link
Collaborator Author

the result of this work can be seen tested at https://code.launchpad.net/~fuzzbawls/+recipe/piv-test

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested ACK 2711ee6

Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 2711ee6

@random-zebra random-zebra merged commit a3da3aa into PIVX-Project:master Aug 14, 2020
@random-zebra random-zebra modified the milestones: 5.0.0, 4.3.0 Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants