Commit Graph

18 Commits

Author SHA1 Message Date
sternenseemann
d20aa4955d boost*: use packaged b2 instead it of building in configurePhase
If we build two things in one derivation, it becomes more complicated
and its build time is extended. Therefore we should avoid this if
possible. There's a good opportunity for this with boost: We have
boost-build packaged already. This has the additional benefit that
we can get rid of $CC_FOR_BUILD entirely in boost, meaning we don't
need to rely on (as many) hacks to make boost understand our way of
cross compiling.

Unfortunately boost-build is not backwards compatible, so we need to
build a specific boost-build for each boost derivation (the number
could probably be reduced, but I'm not interested in testing a lot
of boost builds at the moment).

Additionally we fix a few cross compilation problems:

- boost couldn't cope with different types of compilers for native
  and cross (as happens if useLLVM is true). Since we only use one
  of them per derivation, this is no longer an issue.

- boost didn't find the cross ar and ranlib for compilation (since
  it doesn't check $AR or $RANLIB). Instead it used plain ar and
  ranlib form $PATH which were the native ones before. This is now
  fixed by setting these tools explicitly in user-config.jam (and
  no longer providing the native tools).

With these changes, pkgsLLVM.boost builds.

On darwin, instead of patching the clang-darwin.jam definition, we
instead supply -rpath $out/lib via <linkflags> which causes the
correct directory to be added to the libraries' rpaths, so that
they find each other.
2021-08-04 14:46:38 +02:00
Peter Simons
ea5a0a00a0 Renamed boost's default.nix to 1.47.0.nix for sake of consistency.
svn path=/nixpkgs/trunk/; revision=28615
2011-08-16 15:20:44 +00:00
Karn Kallio
278cc6dc0b First few programs of kde 4.7 kdeedu.
svn path=/nixpkgs/trunk/; revision=28213
2011-08-07 00:38:11 +00:00
Peter Simons
7f94a9ffbf boost: fix "locale::facet::_S_create_c_locale name not valid" error
One would assume that the boost maintainers would have been able to apply this
two line change within the last 10 months or so, but apparently not.

svn path=/nixpkgs/trunk/; revision=27864
2011-07-20 23:11:16 +00:00
Peter Simons
67bbb5203c boost: updated to version 1.47.0
Packages that don't build with the latest libraries can use 'boost144', which
is the version we had before.

svn path=/nixpkgs/trunk/; revision=27740
2011-07-12 14:24:01 +00:00
Rob Vermaas
592abae649 add patch for boost to get rid of ' what(): locale::facet::_S_create_c_locale name not valid' errors in some packages
svn path=/nixpkgs/trunk/; revision=26500
2011-03-25 08:04:00 +00:00
Lluís Batlle i Rossell
5148ee9654 I revert the "Updating boost" change. I don't really need it new I think, and
it breaks things, niksnut reports.

svn path=/nixpkgs/trunk/; revision=26146
2011-03-03 14:10:18 +00:00
Lluís Batlle i Rossell
b679cf6a66 Updating boost
svn path=/nixpkgs/trunk/; revision=26143
2011-03-03 13:41:01 +00:00
Lluís Batlle i Rossell
e6a787f44a Making lua and boost cross-build.
svn path=/nixpkgs/trunk/; revision=23807
2010-09-15 09:56:06 +00:00
Lluís Batlle i Rossell
76a02e762a Allowing boost build enabling parallelBuilds
svn path=/nixpkgs/trunk/; revision=23800
2010-09-14 14:47:16 +00:00
Peter Simons
1b13b33e8d pkgs/development/libraries/boost: updated to boost 1.44.0
Support paralllel building (if enabled by the user via --build-cores).

svn path=/nixpkgs/trunk/; revision=23210
2010-08-17 15:46:06 +00:00
Lluís Batlle i Rossell
a3d73679b7 Cleaning a bit the boost directory. I propose having 'default.nix' for the latest version,
so the updates end in a simple diff. I remove the versions not mentioned anywhere else too.

svn path=/nixpkgs/trunk/; revision=21650
2010-05-07 14:27:22 +00:00
Peter Simons
6c58c97f3a boost: updated to 1.35.0 and added selectVersion dispatcher
svn path=/nixpkgs/trunk/; revision=12207
2008-06-28 15:22:23 +00:00
Yury G. Kudryashov
f1f13ef432 boost: compiles with gcc-4.2
svn path=/nixpkgs/branches/stdenv-updates/; revision=9945
2007-12-15 23:45:53 +00:00
Yury G. Kudryashov
4152053259 boost upgraded to 1.34.1
svn path=/nixpkgs/trunk/; revision=9495
2007-10-19 19:17:06 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Yury G. Kudryashov
33f6eb6b03 Some upgrades needed for kde4:
* alsa-lib: 1.0.12 -> 1.0.14
* alsa-utils: 1.0.13 -> 1.0.14
* strigi: 0.5.1 -> 0.5.3dev
* libgpg-error: 1.0 -> 1.4
* gpgme: 1.0.3 -> 1.1.4
* cmake: 2.4.6 -> 2.4.7

* Some kde4 components added (not compilable yet).
* icu4c-3.6 added
* boost: added unicode support to RegEx, switched to "system" layout

svn path=/nixpkgs/trunk/; revision=9068
2007-08-08 13:20:18 +00:00
Armijn Hemel
400499686e add boost
svn path=/nixpkgs/trunk/; revision=8874
2007-06-12 15:35:57 +00:00