Figure out complete offline build requirements #8

Open
opened 1 year ago by jahway603 · 3 comments
jahway603 commented 1 year ago
Collaborator

In my quest to get SDP to build, I thought I discovered how to completely build/compile it offline with every dependency bundled with it, but unfortunately I was not able to figure that out completely.

It makes no sense at all that the workaround I've documented in the README.md doesn't show any changes after running git diff right after running cargo vendor yet it won't build successfully until that command is run first.

On the bright side, we now have a process to successfully build SDP.

In my quest to get SDP to build, I thought I discovered how to completely build/compile it offline with every dependency bundled with it, but unfortunately I was not able to figure that out completely. It makes no sense at all that the workaround I've documented in the README.md doesn't show any changes after running `git diff` right after running `cargo vendor` yet it won't build successfully until that command is run first. On the bright side, we now have a process to successfully build SDP.
Poster
Collaborator

This rust-lang forum post I made will help accomplish this.

[This rust-lang forum post](https://users.rust-lang.org/t/how-to-build-project-offline-when-cargo-vendor-is-not-working/90110) I made will help accomplish this.
Poster
Collaborator

If anyone wants to test this out, it's in the testing branch.

just git clone, change branch, cd cli, and run cargo build --release --offline to build the whole thing offline (I think at least as I'm not a real rustacian)

If anyone wants to test this out, it's in the testing branch. just git clone, change branch, cd cli, and run `cargo build --release --offline` to build the whole thing offline (I think at least as I'm not a real rustacian)
Poster
Collaborator

false alarm I unplugged my computer and still doesn't build offline... hmm

*false alarm* I unplugged my computer and still doesn't build offline... hmm
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.