Changes in vcpkg/build_iroha_deps.sh
file and documentation to inform users that Iroha 1 is working in Raspberry Pi 4 (from HL main repo)
#2948
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.
Full description from #2944. Because of security reason those changes must be done from main hyperledger repository, not forks.
Description of the Change
History
Lets start with what is not really important - history:
Few years ago I managed to build Iroha 1.1.3 on RPI3 and RPI4, I created special tutorial:
https://wiki.hyperledger.org/pages/viewpage.action?pageId=41584046
After that I was suggested to create PR (#728) and @lebdron created his PR (#864) to make building on RPI as automatic as possible.
During those few years I was thinking that I should create similar PR for
develop
version, but it was really hard (as You see PR from @lebdron). Recently somebody from community posted message that he is using Iroha 1.5 on RPI: https://t.me/hyperledgeriroha/25004 - it added me motivation to try again...Important description of change
vcpkg/build_iroha_deps.sh
- to usevcpkg
on RPI (aarch64
architecture ) we needexport VCPKG_FORCE_SYSTEM_BINARIES=1
before callingvcpkg
.that is why I added entry to
docs/source/requirements.txt
fileIssue
Benefits
If somebody wants to build Iroha for RPI4 - it would be easier for users. Also if somebody (who does not know Iroha) would like to find blockchain who is working on RPI - it will be easier.
Possible Drawbacks
Review process:D.
Usage Examples or Tests [optional]
Testing on RPI4 according to https://iroha.readthedocs.io/en/develop/build/index.html#linux-pre:
Alternate Designs [optional]
Different description