about summary refs log tree commit diff
path: root/src/libstore/normalise.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-05-11T18·05+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-05-11T18·05+0000
commitc8d3882cdc8f9e22c58af285c1996265c1af75d5 (patch)
treebca454268647fa6edf6cd349fc92543b9789d188 /src/libstore/normalise.hh
parentaea436503e9126b06cd15acf1f0c6b738ffbc7de (diff)
* True parallel builds. Nix can now run as many build jobs in
  parallel as possible (similar to GNU Make's `-j' switch).  This is
  useful on SMP systems, but it is especially useful for doing builds
  on multiple machines.  The idea is that a large derivation is
  initiated on one master machine, which then distributes
  sub-derivations to any number of slave machines.  This should not
  happen synchronously or in lock-step, so the master must be capable
  of dealing with multiple parallel build jobs.  We now have the
  infrastructure to support this.

  TODO: substitutes are currently broken.

Diffstat (limited to 'src/libstore/normalise.hh')
-rw-r--r--src/libstore/normalise.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/normalise.hh b/src/libstore/normalise.hh
index 1003858cbea7..bbde545c40ec 100644
--- a/src/libstore/normalise.hh
+++ b/src/libstore/normalise.hh
@@ -8,7 +8,7 @@
    derivation, a path containing an equivalent closure expression is
    returned.  This requires that the derivation is performed, unless a
    successor is known. */
-Path normaliseStoreExpr(const Path & nePath, PathSet pending = PathSet());
+Path normaliseStoreExpr(const Path & nePath);
 
 /* Realise a closure store expression in the file system. 
 
@@ -16,15 +16,15 @@ Path normaliseStoreExpr(const Path & nePath, PathSet pending = PathSet());
    prevents infinite recursion for paths realised through a substitute
    (since when we build the substitute, we would first try to realise
    its output paths through substitutes... kaboom!). */
-void realiseClosure(const Path & nePath, PathSet pending = PathSet());
+void realiseClosure(const Path & nePath);
 
 /* Ensure that a path exists, possibly by instantiating it by
    realising a substitute. */
-void ensurePath(const Path & path, PathSet pending = PathSet());
+void ensurePath(const Path & path);
 
 /* Read a store expression, after ensuring its existence through
    ensurePath(). */
-StoreExpr storeExprFromPath(const Path & path, PathSet pending = PathSet());
+StoreExpr storeExprFromPath(const Path & path);
 
 /* Get the list of root (output) paths of the given store
    expression. */