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
{{ message }}
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
ARM builds are useful for those wanting to generate keys on an offline ARM machine, most accessible of which is a raspberry pi. Currently, to use eth2.0-deposit-cli on an ARM machine, the user must connect to the internet to install dependencies. This defeats the purpose of an offline machine. This PR would close#82 .
The first commit creates build-linux-arm, a copy of build-linux which uses an ARM CI environment, freely supported by Circle CI. However, the current specified version of PyInstaller (3.6) required for building the binary fails to compile due to warnings and -Werror: Circle CI link for the first commit.
The second commit updates PyInstaller to the latest version (4.7). Just doing this also fails, as transitive dependencies of PyInstaller are not pinned to a specific version, which is required by the hashes. Just as in the project's root requirements.txt, the specific versions of transitive dependencies are specified at the bottom of build_configs/linux/requirements.txt. Since these dependencies were only specified with >=, I opted to use the latest versions of the underspecified packages (links provided for convenient checking of the hashes):
The build-linux CI job continues to pass with the updated dependencies: Circle CI link for build-linux and build-linux-arm. I tested the ARM artifacts produced on an emulated qemu ARM vm and it seems to work fine. I will test on a raspberry pi later today
I just changed this branch to target at dev branch.
It seems the CI jobs only exist on your repo but not on this PR page. I guess it was some CircleCI glitch. Could you push something to the PR (e.g., resolve conflicts) to see if it can trigger the CI?
I suggest noting that it is ARM64 rather than just "ARM".
I can also open a new PR based on your commits and resolve the conflict next week.
Hi @hwwhww thanks for looking into it! I didn't realize there was already a dev branch with updated dependencies. As for merge conflicts, it's just the versions in build_configs/linux/requirements.txt - dev has PyInstaller 4.2 (and associated dependencies) whereas my PR has the latest 4.7 (and latest dependencies) - should I use the existing dev dependencies, or the newer ones? If we're using the newer ones, I'm guessing I should split the commits adding the circleci config and updating the dependencies?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ARM builds are useful for those wanting to generate keys on an offline ARM machine, most accessible of which is a raspberry pi. Currently, to use eth2.0-deposit-cli on an ARM machine, the user must connect to the internet to install dependencies. This defeats the purpose of an offline machine. This PR would close #82 .
The first commit creates
build-linux-arm, a copy ofbuild-linuxwhich uses an ARM CI environment, freely supported by Circle CI. However, the current specified version of PyInstaller (3.6) required for building the binary fails to compile due to warnings and-Werror: Circle CI link for the first commit.The second commit updates PyInstaller to the latest version (4.7). Just doing this also fails, as transitive dependencies of PyInstaller are not pinned to a specific version, which is required by the hashes. Just as in the project's root
requirements.txt, the specific versions of transitive dependencies are specified at the bottom ofbuild_configs/linux/requirements.txt. Since these dependencies were only specified with>=, I opted to use the latest versions of the underspecified packages (links provided for convenient checking of the hashes):The
build-linuxCI job continues to pass with the updated dependencies: Circle CI link forbuild-linuxandbuild-linux-arm. I tested the ARM artifacts produced on an emulated qemu ARM vm and it seems to work fine. I will test on a raspberry pi later today