This website requires JavaScript.
Explore
Help
Sign in
max
/
nix-super
Watch
1
Star
0
Fork
You've already forked nix-super
0
mirror of
https://github.com/privatevoid-net/nix-super.git
synced
2024-11-30 09:36:15 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
8ae9d66940
nix-super
/
bootstrap.sh
5 lines
68 B
Bash
Raw
Normal View
History
Unescape
Escape
* A script to generate the Auto* stuff.
2004-07-30 16:45:13 +03:00
#! /bin/sh -e
* Use SQLite 3.7.0's write-ahead logging (WAL mode). This is a lot faster than the old mode when fsyncs are enabled, because it only performs an fsync() when doing a checkpoint, rather than at every commit. Some timings for doing a "nix-instantiate /etc/nixos/nixos -A system" after modifying the stdenv setup script: 42.5s - SQLite 3.6.23 with truncate mode and fsync 3.4s - SQLite 3.6.23 with truncate mode and no fsync 32.1s - SQLite 3.7.0 with truncate mode and fsync 16.8s - SQLite 3.7.0 with WAL mode and fsync, auto-checkpoint every 1000 pages 8.3s - SQLite 3.7.0 with WAL mode and fsync, auto-checkpoint every 8192 pages 1.7s - SQLite 3.7.0 with WAL mode and no fsync The default is now to use WAL mode with fsyncs. Because WAL doesn't work on remote filesystems such as NFS (as it uses shared memory), truncate mode can be re-enabled by setting the "use-sqlite-wal" option to false.
2010-08-04 20:35:59 +03:00
rm -f aclocal.m4
* Build dynamic libraries.
2005-07-22 17:52:45 +03:00
mkdir -p config
bootstrap: Simplify & make more robust.
2011-09-06 15:11:05 +03:00
exec
autoreconf -vfi
Reference in a new issue
Copy permalink