* For ease of use during debugging, don't require --gc-roots-dir.

[?]
Jun 1, 2010, 11:20 AM
77VF5TC64OAL6CNIDZL7RO3UAAB4Y7CIMWBZGDKL7Z3AGI4DRGGAC

Dependencies

  • [2] A63IHCMX * Register GC roots properly.
  • [3] YGRLM2SK * Export all relevant info about the derivation.
  • [4] POPU2ATH * hydra_scheduler: use eval-jobs.
  • [5] 4LWGZL33
  • [6] HVXL2XUZ
  • [*] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.

Change contents

  • replacement in src/c/hydra_eval_jobs.cc at line 154
    [2.278][2.278:412]()
    Path root = gcRootsDir + "/" + baseNameOf(drvPath);
    if (!pathExists(root)) addPermRoot(drvPath, root, false);
    [2.278]
    [2.412]
    if (gcRootsDir != "") {
    Path root = gcRootsDir + "/" + baseNameOf(drvPath);
    if (!pathExists(root)) addPermRoot(drvPath, root, false);
    }
  • replacement in src/c/hydra_eval_jobs.cc at line 234
    [2.588][2.588:664]()
    if (gcRootsDir == "") throw UsageError("--gc-roots-dir not specified");
    [2.588]
    [3.261]
    if (gcRootsDir == "") printMsg(lvlError, "warning: `--gc-roots-dir' not specified");