forked from lix-project/hydra
Rename hydra_eval_jobs to hydra-eval-jobs
This commit is contained in:
parent
92536c2e3c
commit
be1935f66a
|
@ -1,6 +1,6 @@
|
|||
bin_PROGRAMS = hydra_eval_jobs
|
||||
bin_PROGRAMS = hydra-eval-jobs
|
||||
|
||||
hydra_eval_jobs_SOURCES = hydra_eval_jobs.cc
|
||||
hydra_eval_jobs_SOURCES = hydra-eval-jobs.cc
|
||||
hydra_eval_jobs_LDADD = -lmain -lexpr -L$(nix)/lib/nix $(BDW_GC_LIBS)
|
||||
|
||||
AM_CXXFLAGS = \
|
||||
|
|
|
@ -655,7 +655,7 @@ sub evalJobs {
|
|||
my $nixExprFullPath = $nixExprInput->{storePath} . "/" . $nixExprPath;
|
||||
|
||||
(my $res, my $jobsXml, my $stderr) = captureStdoutStderr(10800,
|
||||
("hydra_eval_jobs", $nixExprFullPath, "--gc-roots-dir", getGCRootsDir, "-j", 1, inputsToArgs($inputInfo)));
|
||||
("hydra-eval-jobs", $nixExprFullPath, "--gc-roots-dir", getGCRootsDir, "-j", 1, inputsToArgs($inputInfo)));
|
||||
die "Cannot evaluate the Nix expression containing the jobs:\n$stderr" unless $res;
|
||||
|
||||
print STDERR "$stderr";
|
||||
|
|
|
@ -109,7 +109,7 @@ sub checkJobset {
|
|||
fetchInputs($project, $jobset, $inputInfo);
|
||||
my $checkoutStop = time;
|
||||
|
||||
# Hash the arguments to hydra_eval_jobs and check the
|
||||
# Hash the arguments to hydra-eval-jobs and check the
|
||||
# JobsetInputHashes to see if we've already evaluated this set of
|
||||
# inputs. If so, bail out.
|
||||
my @args = ($jobset->nixexprinput, $jobset->nixexprpath, inputsToArgs($inputInfo));
|
||||
|
|
|
@ -457,7 +457,7 @@ create table JobsetEvals (
|
|||
-- the current inputs for a jobset, we hash the inputs together,
|
||||
-- and if the resulting hash already appears in this table, we can
|
||||
-- skip the jobset. Otherwise we proceed. The hash is computed
|
||||
-- over the command-line arguments to hydra_eval_jobs.
|
||||
-- over the command-line arguments to hydra-eval-jobs.
|
||||
hash text not null,
|
||||
|
||||
foreign key (project) references Projects(name) on delete cascade on update cascade,
|
||||
|
|
Loading…
Reference in a new issue