* 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.
Showing
- src/libmain/shared.cc 18 additions, 2 deletionssrc/libmain/shared.cc
- src/libstore/Makefile.am 1 addition, 1 deletionsrc/libstore/Makefile.am
- src/libstore/exec.cc 0 additions, 140 deletionssrc/libstore/exec.cc
- src/libstore/exec.hh 0 additions, 22 deletionssrc/libstore/exec.hh
- src/libstore/normalise.cc 630 additions, 116 deletionssrc/libstore/normalise.cc
- src/libstore/normalise.hh 4 additions, 4 deletionssrc/libstore/normalise.hh
- src/libstore/pathlocks.cc 20 additions, 2 deletionssrc/libstore/pathlocks.cc
- src/libstore/pathlocks.hh 3 additions, 1 deletionsrc/libstore/pathlocks.hh
- tests/Makefile.am 2 additions, 3 deletionstests/Makefile.am
- tests/locking.sh 1 addition, 1 deletiontests/locking.sh
- tests/parallel.nix.in 3 additions, 3 deletionstests/parallel.nix.in
- tests/parallel.sh 7 additions, 7 deletionstests/parallel.sh
Loading
Please register or sign in to comment