about summary refs log tree commit diff
path: root/src/libstore/exec.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/exec.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/exec.hh')
-rw-r--r--src/libstore/exec.hh22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/libstore/exec.hh b/src/libstore/exec.hh
deleted file mode 100644
index 892815c5c1..0000000000
--- a/src/libstore/exec.hh
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef __EXEC_H
-#define __EXEC_H
-
-#include <string>
-#include <map>
-
-#include "util.hh"
-
-using namespace std;
-
-
-/* A Unix environment is a mapping from strings to strings. */
-typedef map<string, string> Environment;
-
-
-/* Run a program. */
-void runProgram(const string & program, 
-    const Strings & args, Environment env,
-    const string & logFileName);
-
-
-#endif /* !__EXEC_H */