From 3c380eb68aca20791a2c12dd2ccb140ef56c0931 Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys
- This option has no effect if --resource_autosense is enabled. -
--local_resources
availableRAM,availableCPU,availableIO@@ -1905,8 +1902,7 @@ workstation). By default Bazel will estimate amount of RAM and number of CPU cores directly from system configuration and will assume 1.0 I/O resource.
- If this option is used, Bazel will ignore both --ram_utilization_factor and - --resource_autosense options. + If this option is used, Bazel will ignore both --ram_utilization_factor.
--[no]build_runfile_links
--[no]resource_autosense
- Bazel's default scheduling algorithm is based on fixed estimates of - the available CPU/memory resources of the workstation. It does not - account for the load of any unrelated jobs that happen to be running - on your machine, such as another Bazel build in a different - workspace. -
-
- The --resource_autosense
option enables a different
- scheduling algorithm for the execution of build steps. It causes
- Bazel to poll the system CPU load and available memory periodically.
- This data is used to limit the number of commands executed
- simultaneously on the workstation, ensuring that the system remains
- responsive, especially when other jobs are running on the machine.
-
- (Note, neither algorithm takes into account the actual (dynamic) - cost of each build step.) -
---[no]thin_archives
This option enables use of thin archives, an optimization which avoids -- cgit v1.2.3