Slight cleanup
[?]
Jul 21, 2017, 3:22 PM
4ZJIJCVFRNMKUEZDVHBLLVLWUM2OHFSVGC3A5HWDR3ZLS2TR77NACDependencies
- [2]
HJOEIMLRRefactor - [3]
CNLNT3T4Allow only 1 thread to send a closure to a given machine at the same time - [4]
NSBNNM77Add hydra.conf option "nar_buffer_size" to configure memoryTokens limit
Change contents
- replacement in src/hydra-queue-runner/state.hh at line 241
if (systemTypes.find(step->drv.platform) == systemTypes.end()) return false;/* Check that this machine is of the type required by thestep. */if (!systemTypes.count(step->drv.platform)) return false;/* Check that the step requires all mandatory features of thismachine. (Thus, a machine with the mandatory "benchmark"feature will *only* execute steps that require"benchmark".) The "preferLocalBuild" bit of a step ismapped to the "local" feature; thus machines that have"local" as a mandatory feature will only dopreferLocalBuild steps. */ - replacement in src/hydra-queue-runner/state.hh at line 253
if (step->requiredSystemFeatures.find(f) == step->requiredSystemFeatures.end()&& !(step->preferLocalBuild && f == "local"))if (!step->requiredSystemFeatures.count(f)&& !(f == "local" && step->preferLocalBuild)) - edit in src/hydra-queue-runner/state.hh at line 256
/* Check that the machine supports all features required bythe step. */ - replacement in src/hydra-queue-runner/state.hh at line 260
if (supportedFeatures.find(f) == supportedFeatures.end()) return false;if (!supportedFeatures.count(f)) return false;