Use nix::willBuildLocally()
[?]
Oct 21, 2015, 1:44 PM
H7SZRHUBSEDJ3PQ3VOV4ZEEFUWTBPGZN53G6W26HHXPJDO7MSHJACDependencies
- [2]
O3NM62IZSupport multiple machines files - [3]
EJJCY263Account steps with preferLocalBuild as a separate system type - [4]
VQISTKOPhydra-queue-runner: Use substitutes - [5]
5AIYUMTBBasic remote building - [6]
MHVIT4JYSplit hydra-queue-runner.cc more - [7]
SODOV2CMAutomatically reload $NIX_REMOTE_SYSTEMS when it changes - [8]
SK6WHODMSupport preferLocalBuild - [9]
RQUAATWBAdd status dump facility - [10]
HJOEIMLRRefactor - [11]
24BMQDZAStart of single-process hydra-queue-runner - [12]
OG3Z3QGCNamespace cleanup - [13]
5N7LVAJNKeep track of requiredSystemFeatures in the machine stats
Change contents
- edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 24
localPlatforms = {settings.thisSystem};if (settings.thisSystem == "x86_64-linux")localPlatforms.insert("i686-linux"); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 96
parseMachines("localhost " + concatStringsSep(",", localPlatforms)parseMachines("localhost " + settings.thisSystem - edit in src/hydra-queue-runner/queue-monitor.cc at line 4
#include "misc.hh" - replacement in src/hydra-queue-runner/queue-monitor.cc at line 362
auto attr = step->drv.env.find("preferLocalBuild");step->preferLocalBuild =attr != step->drv.env.end() && attr->second == "1"&& has(localPlatforms, step->drv.platform);step->preferLocalBuild = willBuildLocally(step->drv); - edit in src/hydra-queue-runner/state.hh at line 261
nix::StringSet localPlatforms;