-
Couldn't load subscription status.
- Fork 583
Add a script for generating portable build #17894
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
base: compatible
Are you sure you want to change the base?
Conversation
scripts/build-portable.sh
Outdated
|
|
||
| echo "Building Go binaries" | ||
| make libp2p_helper | ||
| local libp2p_binary=${MINA_LIBP2P_HELPER_PATH:-$PWD/src/app/libp2p_helper/result/bin/libp2p_helper} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make libp2p_helper will not build anything if this env-var is set, hence we only fall back to the local build when it's not set. This is useful within a nix context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ I guess this should go into documentation. I'll improve it
|
!ci-toolchain-me |
|
^ I want this script to be in our toolchain. |
|
I think with this toolchain we can produce much smaller docker build. I'll do that shortly after I come back. |
1c1eb93 to
c3d4eca
Compare
7405837 to
c2106a3
Compare
| "ocp-indent.1.7.0" | ||
| "ocp-index.1.3.3" | ||
| "ocplib-endian.1.0" | ||
| "ocplib-endian.1.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting compilation error if this is not bumped.
219c1f2 to
ba6e952
Compare
ba6e952 to
8bc1763
Compare
ff7cd71 to
5698781
Compare
0a81d3e to
5f1aea0
Compare
lowest supported version, since libc is forward compatible.
8f1c33e to
f9c4531
Compare
f9c4531 to
dcb9901
Compare
This script does several things:
/binfolder and setting relative dyn library resolve path/libfolderI've successfully build a bundle on my end under nix, uploaded it to our server and run it bare metal. Hence there should be no compatibility issues.