When I build polkadot with cargo build --release
it builds all the runtimes including Polkadot, Kusama, Rococo, Westend. This is a lot to compile and most of it is not needed.
In my case, I'm testing a parachain locally, so I only need the rococo runtime. I remember there is a way to compile only that runtime, and I even see the rococo-native
feature in sc-cli
but I can't remember how to build the node with only that runtime.