nixpkgs/pkgs
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
..
applications qarte: 4.6.0 → 4.12.0 2021-08-04 07:59:56 +02:00
build-support gprbuild, xmlada: init at 21.0.0 2021-08-03 14:58:49 +02:00
common-updater
data jetbrains-mono: 2.241 -> 2.242 2021-08-03 18:47:30 +00:00
desktops Merge pull request #121829 from davidak/pantheon-team 2021-08-03 10:20:20 +00:00
development boost*: use packaged b2 instead it of building in configurePhase 2021-08-04 14:46:38 +02:00
games Merge pull request #132520 from Stunkymonkey/games-phases 2021-08-03 20:59:54 +00:00
misc vimPlugins.vim-lfe: init at 2018-04-30 2021-08-03 09:50:12 -07:00
os-specific Merge pull request #132445 from flokli/linux-5.14-ide 2021-08-02 21:43:42 +02:00
pkgs-lib
servers Merge pull request #132600 from r-ryantm/auto-update/groonga 2021-08-04 12:36:48 +07:00
shells tcsh: 6.22.03 -> 6.22.04 2021-08-01 00:42:00 -03:00
stdenv Merge pull request #130601 from happysalada/stdenv_cosmetic 2021-07-23 09:45:43 +01:00
test
tools exoscale-cli: 1.38.0 -> 1.39.0 2021-08-04 04:59:34 +00:00
top-level boost*: use packaged b2 instead it of building in configurePhase 2021-08-04 14:46:38 +02:00