Skip to content

Instantly share code, notes, and snippets.

@flipdazed
Last active February 28, 2024 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flipdazed/142ecff6db9d657cb936f0b6c8334537 to your computer and use it in GitHub Desktop.
Save flipdazed/142ecff6db9d657cb936f0b6c8334537 to your computer and use it in GitHub Desktop.
`linux/aarch64` mapping for solcx binary locations
{
"0.8.14": {
"0": "https://gist.githubusercontent.com/flipdazed/5e28e2e13fdb77145f63a877924962c5/raw/linux-aarch64-solc-v0.8.14.base64.0",
"1": "https://gist.githubusercontent.com/flipdazed/1a23167696de88297680f1615ba94865/raw/linux-aarch64-solc-v0.8.14.base64.1",
"md5": "817da68ca744b64d64da21ef93d9fd96"
},
"0.8.24": {
"0": "https://gist.github.com/flipdazed/a50bbf3c991b264382b8d93d78c79a8b/raw/linux-aarch64-solc-v0.8.24.base64.0",
"1": "https://gist.github.com/flipdazed/d9c0a4d435a8376a43df0efca14184f7/raw/linux-aarch64-solc-v0.8.24.base64.1",
"md5": "03c7e92528a6ff7b6462f020fe1618c0"
},
"documentation": "compile the source in the docker container \n you need to do base64 in the container too \n cp solc/solc linux-aarch64-solc-v0.8.24 && base64 linux-aarch64-solc-v0.8.24 > linux-aarch64-solc-v0.8.24 \n\n Now outside the container (you must have gh cli installed) \n solcv=0.8.24 \n docker cp <container>:/root/linux-aarch64-solc-v$solcv.base64 ./ \n split -b 50m linux-aarch64-solc-v$solcv.base64 part_ \n mv part_aa linux-aarch64-solc-v$solcv.base64.0 \n mv part_ab linux-aarch64-solc-v$solcv.base64.1 \n gh gist create linux-aarch64-solc-v$solcv.base64.0 -p -d '`linux/aarch64` compiled solcx binary for version $solcv (Part 1) and encoded with `base64`' \n gh gist create linux-aarch64-solc-v$solcv.base64.1 -p -d '`linux/aarch64` compiled solcx binary for version $solcv (Part 2) and encoded with `base64`'"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment