status-im / infra-role-beacon-node-linux

Ansible role for Nimbus Eth2 beacon node on Linux
https://github.com/status-im/nimbus-eth2
1 stars 4 forks source link

Allow using a custom Nim version when building the beacon node #5

Closed zah closed 2 years ago

stefantalpalaru commented 2 years ago

Do we care about deleting those accumulated compiler binaries for each target commit, at some point?

It's as simple as an initial make clean, but it will rebuild the compiler each time.

jakubgs commented 2 years ago

That sounds painful. I think I'd rather handle that separately. Maybe in Ansible rather than the build script, since we call it less frequently.

zah commented 2 years ago

Can you clarify your concern, @jakubgs? The build script will build the Nim binary only once (the result will be cached in the nimbus-build-system/vendor/Nim/bin directory)

stefantalpalaru commented 2 years ago

I found a better solution: delete all but the 10 newest binaries in "build_nim.sh".