To get started with the OctaviOS sources, you'll need to get familiar with Git and Repo and also check System Requirements
To initialize your local repository, use command:
repo init -u https://github.com/Octavi-Staging/manifest.git -b sixteen --git-lfsFor saving space you can do shallow clone of repo init process
repo init -u https://github.com/Octavi-Staging/manifest.git -b sixteen --git-lfs --depth=1Then sync up: -J8 here is 8 threads, you can change based on your PC processor.
repo sync -c -j8If you want to use all cores then use below command
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
Initialize the ROM environment with the envsetup.sh script.
. build/envsetup.shLunch your device after cloning all device sources if needed. Note : lunch command will change based on device ex: lunch octavi_whyred-bp2a-eng
lunch octavi_devicecodename-bp2a-buildtypeStart compilation
make bacon -j8