Commit Graph

49 Commits

Author SHA1 Message Date
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Vladimír Čunát
1bdb138710
nix: use boehmgc with enableLargeConfig = true
Fixes #43015 for me and hopefully also similar issues.

== Resource consumption ==

TL;DR: no change for small-memory cases, less CPU for large-memory cases.

I assume almost all of the large memory usage is just the expression
evaluation and managed by the GC, so I used just `nix-env -q...` to test.
Old and new lines for each command follow.  I tried to run each several
times, but the values were very stable (<1% difference on re-runs),
so only one line for each command-version pair is provided.

$ time nix-env -f . -qaP --description -A nix >/dev/null
- 0.06user 0.01system 0:00.07elapsed 101%CPU (0avgtext+0avgdata 29036maxresident)k
+ 0.06user 0.01system 0:00.07elapsed 102%CPU (0avgtext+0avgdata 29864maxresident)k

$ time nix-env -f . -qaP --description >/dev/null
- 6.45user 0.36system 0:06.82elapsed  99%CPU (0avgtext+0avgdata 1021024maxresident)k
+ 6.23user 0.33system 0:06.57elapsed 100%CPU (0avgtext+0avgdata  938408maxresident)k

$ time nix-env -f . --show-trace -qa --drv-path --system --meta --xml 2>&1 >/dev/null
- 56.35user 0.96system 0:31.03elapsed 184%CPU (0avgtext+0avgdata 3207708maxresident)k
+ 44.80user 0.91system 0:26.12elapsed 175%CPU (0avgtext+0avgdata 3192696maxresident)k

$ time ./result-nix-large/bin/nix-instantiate --dry-run --eval --strict \
    --show-trace ./maintainers/scripts/eval-release.nix > /dev/null
- Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
- Command terminated by signal 6
- 175.18user 2.68system 1:17.42elapsed 229%CPU (0avgtext+0avgdata 8468440maxresident)k
+ 178.48user 2.78system 1:15.11elapsed 241%CPU (0avgtext+0avgdata 8460572maxresident)k
2018-07-06 13:03:45 +02:00
sander
587467a18e github-gentoo-compromized_cannot-download_boehm-gc-7.6.0-sys_select.patch-from-any-mirror - change to gentoo git repository gitweb.gentoo.org 2018-07-02 11:59:27 +02:00
Will Dietz
a23c0c577c boehmgc: 7.6.4 -> 7.6.6
https://github.com/ivmai/bdwgc/releases/tag/v7.6.6
2018-04-20 21:16:55 -05:00
Shea Levy
f3f79bd6c6
boehmgc: Add patch for RISC-V support. 2018-02-18 09:02:06 -05:00
Will Dietz
4aca016313 changes some targetPlatform to hostPlatform checks 2018-02-13 09:44:42 -06:00
Will Dietz
e4d5928ba3 boehm-gc: fix missing include, fix build w/musl
Also disable-static, don't remember why
2018-02-13 09:44:39 -06:00
Tuomas Tynkkynen
95b0ae0ad7 boehmgc: 7.6.2 -> 7.6.4 2018-02-04 02:47:18 +02:00
Tuomas Tynkkynen
6ed0fe7e45 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/build-support/fetchbower/default.nix
	pkgs/build-support/fetchdarcs/default.nix
	pkgs/build-support/fetchgx/default.nix
	pkgs/development/python-modules/botocore/default.nix
	pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
	pkgs/tools/admin/awscli/default.nix
2018-01-14 21:18:27 +02:00
Will Dietz
c4e9e4a4d6 boehm-gc, libatomic_ops: 7.6.0 -> 7.6.2
These should be the same version.
2018-01-13 09:33:14 -06:00
John Ericson
133b4658df treewide: Simplify some doCheck calls
In anticipation of what I outline in #33599, I only simplify exactly those
`doCheck`s which are equal to `hostPlatform != buildPlatform`. I also stick a
comment next to them so I can grep for them later.
2018-01-09 12:37:38 -05:00
Orivej Desh
5421d2908f boehm-gc: enable parallel building 2017-11-21 17:58:48 +00:00
Ben Gamari
6b1a2b3089 boehm-gc: Don't run tests when cross-compiling 2017-10-27 20:32:24 -04:00
Eelco Dolstra
c23dcd72a0
Enable some more debug info 2017-07-05 16:04:54 +02:00
hsloan
67ae0f0370 boehm-gc: Don't use stdenv ? cross 2017-06-28 19:27:45 -04:00
Nathan Zadoks
e38fc7a736 boehm-gc: 7.2g -> 7.6.0
fix #20753
2016-12-15 01:16:31 -05:00
Graham Christensen
16995fc57b
boehmgc: 7.2f -> 7.2g 2016-11-30 19:19:25 -05:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Rok Garbas
8bebcd5d40 cygwin: patch boehm-gc on cygwin 2015-05-28 14:15:47 +02:00
Vladimír Čunát
bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
Ludovic Courtès
41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Vincent Laporte
2d252e78c1 boehm-gc: fixes URLs in meta 2014-11-18 00:48:18 +00:00
Eelco Dolstra
8e2e4216ba boehm-gc: Support --enable-large-config 2014-09-18 12:19:09 +02:00
Vladimír Čunát
8da52a642a Merge branch 'staging' into v/modular
Conflicts (easy):
	pkgs/development/interpreters/perl/5.10/setup-hook.sh
	pkgs/development/interpreters/perl/5.8/setup-hook.sh
	pkgs/development/libraries/gtk+/2.x.nix
2014-08-31 12:23:18 +02:00
Eelco Dolstra
8e8adfc110 boehm-gc: Update to 7.2f 2014-08-21 17:54:43 +02:00
Eelco Dolstra
977a1df79a boehm-gc: Split into multiple outputs 2013-08-26 12:04:19 +02:00
Eelco Dolstra
f9714ace11 boehm-gc: Update to 7.2d 2012-10-03 14:07:35 -04:00
Ludovic Courtès
44e38c020a libgc 7.2alpha6 (June 2011).
svn path=/nixpkgs/trunk/; revision=31787
2012-01-22 10:52:09 +00:00
Ludovic Courtès
7762934904 BDW-GC, GMP, libffi, libunistring, Readline: Don't use the native `strip'.
Using the native `strip' breaks static libraries when cross-compiling.

svn path=/nixpkgs/trunk/; revision=27572
2011-07-01 13:20:12 +00:00
Eelco Dolstra
207f3278c1 * boehm-gc: For simplicity, use a tarball containing the CVS export
instead of fetchcvs.  Then we don't need to special-case FreeBSD
  either.  Also, removed the Cygwin patch which no longer seems
  needed.

svn path=/nixpkgs/trunk/; revision=25759
2011-02-02 12:17:29 +00:00
Ludovic Courtès
bef4ae60e4 BDW-GC: Fix Cygwin builds with the CVS tree.
svn path=/nixpkgs/trunk/; revision=25691
2011-01-26 08:09:59 +00:00
Ludovic Courtès
04bd33d520 BDW-GC: Default to the current CVS version.
svn path=/nixpkgs/trunk/; revision=25669
2011-01-22 21:34:18 +00:00
Lluís Batlle i Rossell
64eadafc2b Using a new boehm-gc (alpha, not stable) on the mips,
because the stable does not support mips at all

svn path=/nixpkgs/branches/stdenv-updates/; revision=23319
2010-08-21 17:09:02 +00:00
Ludovic Courtès
50b5ca25d3 boehm-gc: Add missing brackets.
svn path=/nixpkgs/trunk/; revision=20902
2010-04-01 10:05:58 +00:00
Ludovic Courtès
5e1ea06c0f boehm-gc: Fix x86_64-darwin builds.
svn path=/nixpkgs/trunk/; revision=20900
2010-04-01 09:26:29 +00:00
Ludovic Courtès
a45675427f BDW-GC: Build on all platforms.
svn path=/nixpkgs/trunk/; revision=19954
2010-02-12 14:14:40 +00:00
Ludovic Courtès
26dc84f99a BDW-GC: Tentative fix for Cygwin.
svn path=/nixpkgs/trunk/; revision=17249
2009-09-18 14:30:10 +00:00
Ludovic Courtès
08cc42f378 libgc: Add meta-info.
svn path=/nixpkgs/trunk/; revision=17187
2009-09-16 12:39:57 +00:00
Ludovic Courtès
deac729a8c libgc 7.1.
svn path=/nixpkgs/trunk/; revision=12804
2008-09-05 08:03:44 +00:00
Eelco Dolstra
e5a14db751 * Boehm GC updated to 7.0. Needed to get w3m to build on x86_64.
svn path=/nixpkgs/trunk/; revision=10082
2008-01-06 00:12:25 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
f36368c749 * Boehm GC 6.8, needed on Darwin-x86.
svn path=/nixpkgs/trunk/; revision=6011
2006-08-01 12:29:07 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Martin Bravenboer
560f307623 Added libraries:
- gtkmm: C++ bindings for gtk
  - glibmm: C++ bindings for glib
  - libsigc++ (C++)

Added applications:
  - Batik: SVG rasterizer (and more)
  - Inkscape: vector graphics drawing application

Upgraded:
  - boehm-gc


svn path=/nixpkgs/trunk/; revision=3792
2005-09-07 14:57:30 +00:00
Eelco Dolstra
454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Martin Bravenboer
981cf60a3a Added the Boehm Garbage Collector
svn path=/nixpkgs/trunk/; revision=1785
2004-11-19 14:57:43 +00:00