Only pass the first value of each input in the inputs argument
[?]
Aug 4, 2015, 12:10 PM
MFRA2JX7CIEMPYOWWB2MKV6ZMLCWCF4BFIWKBBSVMKQG3JNJ6DBQCDependencies
- [2]
FHXU6346hydra-eval-jobs: Pass all inputs as 'inputs' arg. - [3]
7GKAIP3VFix build and handling of string inputs starting with a dash - [*]
4N5APGRG* Start of a helper tool to evaluate job expressions efficiently.
Change contents
- replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 260
Value * inputAttr = state.allocAttr(*inputsSet, inputName);state.mkList(*inputAttr, i.second.size());int altIndex = 0;bool first = true; - replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 268
inputAttr->list.elems[altIndex++] = v;if (first) {inputsSet->attrs->push_back(Attr(inputName, *v));first = false;}