Fix build failure on GCC 5.4
[?]
Sep 30, 2016, 3:05 PM
6LIYTMFU5UXNQWNZP63CXRWTN52AVOLXSHGEXMC2G3RY6L4XA45ACDependencies
- [2]
BYVRA54QTemporarily disable machines on any exception, not just connection failures - [3]
MHVIT4JYSplit hydra-queue-runner.cc more - [4]
YR2IM6Y5Temporarily disable machines after a connection failure - [5]
46ADBTMQStart steps in order of ascending build ID - [6]
UPNGFCXGFor completeness, re-implement meta.schedulingPriority - [7]
FITVNQ2SKeep track of the time we spend copying to/from build machines - [8]
4I2HF4L3Unindent - [9]
NKQOEVVPGet rid of "will retry" messages after "maybe cancelling..." - [10]
LE4VZIY5More stats - [*]
5AIYUMTBBasic remote building
Change contents
- edit in src/hydra-queue-runner/build-remote.cc at line 2[12.107][12.107]
#include <cmath> - replacement in src/hydra-queue-runner/build-remote.cc at line 385
int delta = retryInterval * powf(retryBackoff, info->consecutiveFailures - 1) + (rand() % 30);int delta = retryInterval * std::pow(retryBackoff, info->consecutiveFailures - 1) + (rand() % 30); - replacement in src/hydra-queue-runner/builder.cc at line 41
int delta = retryInterval * powf(retryBackoff, step_->tries - 1) + (rand() % 10);int delta = retryInterval * std::pow(retryBackoff, step_->tries - 1) + (rand() % 10); - edit in src/hydra-queue-runner/dispatcher.cc at line 2
#include <cmath> - replacement in src/hydra-queue-runner/dispatcher.cc at line 123
float ta = roundf(a.currentJobs / a.machine->speedFactor);float tb = roundf(b.currentJobs / b.machine->speedFactor);float ta = std::round(a.currentJobs / a.machine->speedFactor);float tb = std::round(b.currentJobs / b.machine->speedFactor);