- Jun 21, 2004
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
delete obstructing invalid paths.
-
Eelco Dolstra authored
only caused a crash if the program was *not* invoked with a high verbosity level.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
improve throughput. * Don't build the `substitute-rev' table for now, since it caused Theta(N^2) time and log file consumption when adding N substitutes. Maybe we can do without it.
-
Eelco Dolstra authored
flag doesn't seem to work as advertised.
-
- Jun 20, 2004
-
-
Eelco Dolstra authored
* A better substitute mechanism. Instead of generating a store expression for each store path for which we have a substitute, we can have a single store expression that builds a generic program that is invoked to build the desired store path, which is passed as an argument. This means that operations like `nix-pull' only produce O(1) files instead of O(N) files in the store when registering N substitutes. (It consumes O(N) database storage, of course, but that's not a performance problem). * Added a test for the substitute mechanism. * `nix-store --substitute' reads the substitutes from standard input, instead of from the command line. This prevents us from running into the kernel's limit on command line length.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jun 19, 2004
-
-
Eelco Dolstra authored
-
- Jun 18, 2004
-
-
Eelco Dolstra authored
approach. This makes it much easier to add extra complexity in the normaliser / realiser (e.g., build hooks, substitutes).
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jun 15, 2004
-
-
Eelco Dolstra authored
-
- Jun 08, 2004
-
-
Eelco Dolstra authored
-
- Jun 04, 2004
-
-
Eelco Dolstra authored
-
- May 18, 2004
-
-
Eelco Dolstra authored
hack.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
to be specified in configure (using `--with-system=SYSTEM').
-
Eelco Dolstra authored
Linux), so use setpgid().
-
- May 14, 2004
-
-
Eelco Dolstra authored
* When a fast build wakes up a goal, try to start that goal in the same iteration of the startBuild() loop of run(). Otherwise no job might be started until the next job terminates.
-
- May 13, 2004
-
-
Eelco Dolstra authored
(Though the `build-remote.pl' script has a gigantic race condition).
-
Eelco Dolstra authored
-
Eelco Dolstra authored
per-machine maximum number of parallel jobs on a remote machine.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
in parallel. Hooks are more efficient: locks on output paths are only acquired when the hook says that it is willing to accept a build job. Hooks now work in two phases. First, they should first tell Nix whether they are willing to accept a job. Nix guarantuees that no two hooks will ever be in the first phase at the same time (this simplifies the implementation of hooks, since they don't have to perform locking (?)). Second, if they accept a job, they are then responsible for building it (on the remote system), and copying the result back. These can be run in parallel with other hooks and locally executed jobs. The implementation is a bit messy right now, though. * The directory `distributed' shows a (hacky) example of a hook that distributes build jobs over a set of machines listed in a configuration file.
-
- May 12, 2004
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
no limit). * Add missing file to distribution.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
distributing a build action to another machine. In particular, the paths in the input closures, the output paths, and successor mapping for sub-derivations.
-
Eelco Dolstra authored
-
- May 11, 2004
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
* Ignore EINTR in reads and writes.
-
- May 04, 2004
-
-
Eelco Dolstra authored
possible. This test fails right now because this hasn't been implemented right now. Yes, I'm doing Test-Driven Development! ;-)
-
Eelco Dolstra authored
* A test to verify that locking of output paths (caused by concurrent invocations of Nix) works correctly.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
environment variables. * Started adding some automatic tests. * Do a `make check' when building RPMs.
-