aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2011-04-11* configure: detect whether DBD::SQLite is present. If necessary theEelco Dolstra
location to DBI and DBD::SQLite can be passed with --with-dbi and --with-dbd-sqlite.
2011-02-10* Don't allocate a big initial GC address space on machines withEelco Dolstra
little RAM. Even if the memory isn't actually used, it can cause problems with the overcommit heuristics in the kernel. So use a VM space of 25% of RAM, up to 384 MB.
2011-02-09Use $BDW_GC_LIBS instead of a custom variable.Ludovic Courtès
2011-02-09* A better fix. $boehmgc isn't set anywhere, we should use the flagsEelco Dolstra
returned by pkg-config.
2011-02-08(no commit message)Eelco Dolstra
2010-12-17* Do a short sleep after SQLITE_BUSY.Eelco Dolstra
2010-12-10* Use SQLite 3.7.4.Eelco Dolstra
2010-11-16* Sync with the trunk.Eelco Dolstra
2010-10-29* Use pkgconfig to locate the Boehm GC (as suggested by Ludo), ifEelco Dolstra
--enable-gc is given.
2010-10-22* Make building against the Boehm GC a configure option.Eelco Dolstra
2010-10-04* If std::tr1::unordered_set is unavailable, use std::set.Eelco Dolstra
2010-08-27(no commit message)Eelco Dolstra
2010-08-12* Urgh, this was supposed to go in the trunk...Eelco Dolstra
2010-08-12* Don't link against pthreads. This was added way back in r211Eelco Dolstra
because Berkeley DB needed it on some platforms, but we don't use BDB anymore. On FreeBSD, if you link against pthreads, then the main thread gets a 2 MB stack which cannot be overriden (it ignores "ulimit -s"): http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg62445.html This is not enough for Nix. For instance, the garbage collector can fail if there is a pathologically deep chain of references (http://hydra.nixos.org/build/556199). 2 MB is also not enough for many Nix expressions. Arguably the garbage collector shouldn't use recursion, because in NixOS unprivileged users can DOS the garbage collector by creating a sufficiently deeply nested chain of references. But getting rid of recursion is a bit harder.
2010-08-06* Use SQLite 3.7.0.1.Eelco Dolstra
2010-08-04* Sync with the trunk.Eelco Dolstra
2010-08-04* Use SQLite 3.7.0's write-ahead logging (WAL mode). This is a lotEelco Dolstra
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-06-24Revert "configure.ac: make flex and bison required programs"Peter Simons
This reverts commit 22405. Apparently, these programs aren't necessarily required when building from a release archive.
2010-06-24Fix build of bsdiff-4.3 on machines that don't have <err.h>, such as Solaris.Peter Simons
2010-06-24configure.ac: Incredibly enough, tr(1) on Solaris doesn't understand A-Z ↵Peter Simons
syntax for ranges.
2010-06-24configure.ac: make flex and bison required programsPeter Simons
The build fails if these tools aren't available.
2010-05-12* Sync with the trunk.Eelco Dolstra
2010-04-20* Sync with the trunk.Eelco Dolstra
2010-04-19* Drop the dependency on the ATerm library.Eelco Dolstra
2010-03-23* Use SQLite 3.6.23.Eelco Dolstra
2010-03-11Making 'bin2c' to be built with the compiler for the local system.Lluís Batlle i Rossell
I copied the configure.ac code about CC_FOR_BUILD from libX11.
2010-03-11* Sync with the trunk.Eelco Dolstra
2010-03-05* nix-prefetch-url depends on sed (seeEelco Dolstra
http://hydra.nixos.org/build/311170).
2010-03-02* Support static builds.Eelco Dolstra
2010-03-02* Remove the --enable-static-nix flag.Eelco Dolstra
2010-03-02* When using the included sqlite/aterm libraries, build withEelco Dolstra
--enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene.
2010-02-24* Don't use fdatasync since it doesn't work on Snow Leopard.Eelco Dolstra
* Don't refer to config.h in util.hh, because config.h is not installed (http://hydra.nixos.org/build/303053).
2010-02-24* ADDITIONAL_NETWORK_LIBS -> LIBS.Eelco Dolstra
2010-02-24* Remove the fdatasync check since it's no longer needed.Eelco Dolstra
2010-02-23* configure: flag --with-sqlite.Eelco Dolstra
2010-02-18* Convert the Nix database to SQLite.Eelco Dolstra
2010-02-02* If fdatasync() isn't available, use fsync().Eelco Dolstra
2009-11-06* Remove support for old (before Nix 0.12pre12020) databases.Eelco Dolstra
2009-10-08Added optional parameter which adds -lnsl -lsocket to make the Nix package ↵Sander van der Burg
manager work on OpenSolaris
2009-10-06configure.ac: use AC_SYS_LARGEFILE to determine how to enable 64-bit file ↵Peter Simons
size support Defining -D_FILE_OFFSET_BITS=64 works on most platforms, but not on all (i.e. Solaris). Also, the Autoconf macro offers the user a switch to disable the functionality in case of problems.
2009-09-18* Use xmllint (>= 2.7.4) for RelaxNG validation instead of Jing.Eelco Dolstra
2009-05-07* Typo.Eelco Dolstra
2009-03-26* Support doing a fully static build. Statically linked Nix binariesEelco Dolstra
will be useful as a fallback on platforms for which there are no RPMs/Debs available.
2009-03-22* NAR archives: handle files larger than 2^32 bytes. Previously itEelco Dolstra
would just silently store only (fileSize % 2^32) bytes. * Use posix_fallocate if available when unpacking archives. * Provide a better error message when trying to unpack something that isn't a NAR archive.
2009-03-09* Make the version available to release.nix.Eelco Dolstra
2009-01-12* Support i686-linux builds directly on x86_64-linux NixEelco Dolstra
installations. This is implemented using the personality() syscall, which causes uname to return "i686" in child processes.
2008-12-12* Some hackery to make "make check" succeed on Cygwin.Eelco Dolstra
2008-12-12* Detect whether unshare() is available.Eelco Dolstra
2008-12-11* Do chroot builds in a private namespace. This means that all theEelco Dolstra
bind-mounts we do are only visible to the builder process and its children. So accidentally doing "rm -rf" on the chroot directory won't wipe out /nix/store and other bind-mounted directories anymore. Also, the bind-mounts in the private namespace disappear automatically when the builder exits.
2008-11-26* Moved the build farm job for building Nix to the Nix tree.Eelco Dolstra