Account steps with preferLocalBuild as a separate system type
[?]
Sep 2, 2015, 11:42 AM
EJJCY263UXP4F2NAHOARQRBV2V2Z7MK7474RFNOD6LDYTCPMWIPQCDependencies
- [2]
5N7LVAJNKeep track of requiredSystemFeatures in the machine stats - [3]
MHVIT4JYSplit hydra-queue-runner.cc more - [4]
IK2UBDAURevive jobset scheduling
Change contents
- edit in src/hydra-queue-runner/queue-monitor.cc at line 335
auto attr = step->drv.env.find("preferLocalBuild");step->preferLocalBuild =attr != step->drv.env.end() && attr->second == "1"&& has(localPlatforms, step->drv.platform); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 344
if (i != step->drv.env.end()) {step->requiredSystemFeatures = tokenizeString<std::set<std::string>>(i->second);StringSet features;if (i != step->drv.env.end())features = step->requiredSystemFeatures = tokenizeString<std::set<std::string>>(i->second);if (step->preferLocalBuild)features.insert("local");if (!features.empty()) { - replacement in src/hydra-queue-runner/queue-monitor.cc at line 351
step->systemType += concatStringsSep(",", step->requiredSystemFeatures);step->systemType += concatStringsSep(",", features); - edit in src/hydra-queue-runner/queue-monitor.cc at line 355
auto attr = step->drv.env.find("preferLocalBuild");step->preferLocalBuild =attr != step->drv.env.end() && attr->second == "1"&& has(localPlatforms, step->drv.platform);