DivestOS/Scripts
steadfasterX b3bef085f8
allow to specify thread counts (sync,build)
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>
2023-03-31 21:00:01 +02:00
..
Common allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-14.1 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-15.1 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-16.0 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-17.1 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-18.1 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-19.1 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
LineageOS-20.0 allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
Generate_Signing_Keys.sh Tiny "fix" 2023-03-10 17:51:04 -05:00
Generate_Supporting_Files.sh Robustness improvements 2023-03-08 01:14:06 -05:00
Generate_Verified_Boot_Hashes.sh Fixup license 2022-12-15 17:39:21 -05:00
Generate_Wallpaper_Sizes.sh Fixup 2022-08-15 16:40:32 -04:00
init.sh allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
Update_Commons.sh Update commons 2023-03-06 20:39:36 -05:00