Configure Remote Build Execution (RBE)
This setup dramatically accelerates build times by offloading compilation tasks to a remote server like BuildBuddy. It uses a script (setup_rbe.sh) and a separate configuration file (rbe.conf) to keep your private API keys and settings secure and easy to manage.
When to use: Place the two files in the root of your ROM source directory. You must first edit rbe.conf with your details. Then, before every build, you source the script in your terminal to activate the RBE environment.
Commands:
A) First-Time Setup:
- Download the script and the configuration file template.
# Download the script and its config file
wget https://github.com/glitch-wraith/Building-Help/raw/refs/heads/main/setup_rbe.sh
wget https://github.com/glitch-wraith/Building-Help/raw/refs/heads/main/rbe.conf
chmod +x setup_rbe.sh- Edit rbe.conf
nano rbe.conf
- Usage
- Use this command before mka
source ./setup_rbe.sh