mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-04-05 20:36:16 -04:00

when DOS_MAX_THREADS_REPO and/or DOS_MAX_THREADS_BUILD are defined in init.sh they will be used. otherwise the max threads are calculated based on the cpu cores count. if that calculation fails (depends on nproc) a default fallback of: - 4 is used for repo sync (which reflects the current state for repo sync) - `<empty>` is used for make - which yields to no limitation (which reflects the current state for mka / make) to avoid issues regarding being rate limited a max value for repo sync processes will overwrite DOS_MAX_THREADS_REPO when set greater than MAX_THREADS_REPO_RATE (8). Signed-off-by: steadfasterX <steadfasterX@gmail.com>
Description
Everything needed to build DivestOS, a more private and more secure aftermarket mobile operating system.
Languages
Shell
99.8%