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

Use separate binaries for all supported OS and architectures #588

Merged
merged 3 commits into from
Aug 31, 2023

Conversation

borzunov
Copy link
Member

This PR uses makes hivemind use a separate p2pd binary for each (os, platform), so:

  • Now we download 2x smaller binary for a specific macOS arch, instead of downloading the large universal binary
  • Now we also provide p2pd-linux-arm64 binary (maybe someone wants to run a DHT node on Raspberry Pi?)

"p2pd-darwin-amd64": "a9e5fee6bdcbfb5cc7f1a9b19e3fa4c91ceb18108b20472bf7affa62c590a964",
"p2pd-darwin-arm64": "5868f2000f4d0746c5349f3480cb5450f66d4391570b420a8f888afc9e9152af",
"p2pd-linux-amd64": "a9d456006e915d3cbbc8e5e9902d5b1a3120235f317e113137d6b631e2c810ac",
"p2pd-linux-arm64": "b03c02e6afa47f158183f6267eecf4adb0e17120d534402c99dc33f3a2915cb1",
Copy link
Member Author

Choose a reason for hiding this comment

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

Copied from https://github.com/learning-at-home/go-libp2p-daemon/releases/tag/v0.3.18 (now hashes are computed in CI automatically)

@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Merging #588 (0857d4c) into master (1eb5d18) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #588      +/-   ##
==========================================
+ Coverage   85.32%   85.40%   +0.07%     
==========================================
  Files          81       81              
  Lines        8009     8009              
==========================================
+ Hits         6834     6840       +6     
+ Misses       1175     1169       -6     

see 6 files with indirect coverage changes

@borzunov borzunov changed the title Use separate binaries for {linux,darwin} x {amd64,arm64} Use separate binaries for all supported OS and architectures Aug 31, 2023
@borzunov borzunov merged commit 27318f9 into master Aug 31, 2023
15 checks passed
@borzunov borzunov deleted the separate-binaries branch August 31, 2023 08:12
mryab pushed a commit that referenced this pull request Aug 31, 2023
This PR uses makes hivemind use a separate p2pd binary for each `(os, platform)`, so:

- Now we download 2x smaller binary for a specific macOS arch, instead of downloading the large universal binary
- Now we also provide `p2pd-linux-arm64` binary (maybe someone wants to run a DHT node on Raspberry Pi?)

(cherry picked from commit 27318f9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants