bisgardo / concordium-docker

A collection of scripts and configuration files to build and deploy a containerized node for the Concordium blockchain.
The Unlicense
5 stars 2 forks source link

Docker: Use released binaries of protoc and CMake #66

Closed bisgardo closed 1 year ago

bisgardo commented 1 year ago

This change reduces build time by downloading and installing the official binaries of protoc and cmake released by the projects' maintainers rather than building them directly from source. According to local measurements, this speeds up the complete build by 30%.

Additionally, the protobuf version is bumped from v3.15.8 to v3.20.1.

Note that the custom CMake build is used only to compile 'flatc', which is still necessary due to mismatching toolchain versions. A comment explaining this was added as well.

bisgardo commented 1 year ago

Resolved #63.