Andrew Childs 7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb391ed002046090851a44c452b80bdbd, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
..
2021-03-03 19:19:07 +07:00
2021-02-19 18:51:52 +01:00
2021-01-28 18:13:42 -03:00
2021-04-10 06:44:18 +00:00
2021-03-17 15:07:48 +01:00
2021-03-25 11:48:24 +01:00
2021-04-01 11:12:47 +08:00
2021-03-29 18:12:25 +08:00
2021-04-16 21:33:08 +02:00
2021-04-01 17:59:49 +02:00
2021-03-30 02:20:31 +02:00
2021-03-23 11:47:29 +01:00
2021-02-04 07:56:11 +00:00
2021-02-16 16:35:04 +07:00
2021-03-23 21:00:23 +01:00
2021-02-26 11:45:51 +00:00
2021-03-22 10:58:48 -04:00
2021-03-09 10:52:26 +01:00
2021-04-02 21:13:02 +02:00
2021-01-25 19:16:20 +01:00
2021-04-17 06:11:56 +10:00
2021-03-03 19:19:07 +07:00
2021-04-04 19:49:52 +02:00
2021-04-03 19:44:36 +02:00
2021-04-28 06:55:53 +00:00
2021-04-11 14:51:54 -04:00
2021-03-18 17:29:49 +02:00
2021-01-20 09:11:11 +10:00
2021-04-01 11:12:47 +08:00
2021-03-03 19:19:07 +07:00
2021-02-11 19:43:27 +00:00
2021-03-12 03:10:25 +00:00
2021-04-23 10:19:37 +00:00
2021-03-03 19:19:08 +07:00
2021-03-26 11:36:38 +01:00
2021-03-12 08:51:50 +01:00
2021-02-15 15:41:16 -03:00
2021-02-26 14:55:45 +09:00
2021-03-03 19:19:08 +07:00
2021-04-07 20:34:26 +02:00
2021-04-15 19:44:38 +08:00
2021-02-26 10:25:13 +01:00
2021-03-03 22:35:06 +07:00
2021-03-18 18:33:35 +00:00
2021-03-14 17:06:47 -07:00
2021-01-29 22:59:37 +01:00
2021-03-22 15:05:16 +07:00
2021-03-11 18:30:03 +01:00
2021-04-14 07:45:10 +02:00
2021-03-31 23:11:34 +02:00
2021-04-29 15:28:57 +02:00