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-02-11 17:55:53 +01:00
2021-04-21 01:00:40 +02:00
2021-04-25 22:43:59 +03:00
2021-03-22 00:53:20 +01:00
2021-03-31 21:51:26 +02:00
2021-04-16 17:00:32 +02:00
2021-04-14 14:17:53 -07:00
2021-04-29 01:02:40 -04:00
2021-03-25 12:16:29 +01:00
2021-04-29 03:39:40 +02:00
2021-03-01 16:35:46 +10:00
2021-03-27 11:38:10 +01:00
2021-04-16 18:24:08 +01:00
2021-02-28 12:50:39 +00:00
2021-02-22 00:10:17 -05:00
2021-02-25 22:16:42 +03:00
2021-04-03 17:06:10 +02:00
2021-03-26 18:59:11 +01:00
2021-04-10 12:22:54 +00:00
2021-02-13 17:34:54 +01:00
2021-03-13 07:35:05 +00:00
2021-03-03 00:16:46 +00:00
2021-03-10 12:57:03 +01:00
2021-04-04 03:18:56 +02:00
2021-04-28 13:15:23 +02:00
2021-03-18 15:28:05 +01:00
2021-02-17 15:56:34 +00:00
2021-03-22 12:09:56 +00:00
2021-04-15 20:57:22 +00:00
2021-02-26 16:30:46 +08:00
2021-04-19 11:26:08 -04:00
2021-04-05 00:29:37 +00:00
2021-04-09 09:02:34 +02:00
2021-04-05 22:12:51 -07:00
2021-04-01 10:34:40 +03:00
2021-04-04 03:18:58 +02:00
2021-04-04 03:18:58 +02:00
2021-03-14 11:40:49 +07:00
2021-02-11 21:04:43 +00:00
2021-04-04 03:18:58 +02:00
2021-04-08 17:28:06 +09:30
2021-02-23 15:35:07 +01:00
2021-03-24 14:39:38 -04:00
2021-04-23 15:13:36 +02:00
2021-04-15 07:30:38 +02:00
2021-02-08 21:43:19 +01:00
2021-03-14 11:40:51 +07:00
2021-04-05 09:57:13 +02:00
2021-03-31 23:29:58 +02:00
2021-04-29 00:14:49 -04:00
2021-03-09 12:24:14 +00:00
2021-04-06 00:25:15 -04:00
2021-04-25 22:38:08 +03:00
2021-03-09 19:17:20 +00:00
2021-04-27 18:14:28 +00:00
2021-03-09 21:13:17 +00:00
2021-03-27 22:09:49 +00:00
2021-04-04 01:43:46 +02:00
2021-03-09 22:15:39 +00:00
2021-03-24 21:48:03 +00:00
2021-04-25 18:49:21 +03:00
2021-03-24 22:16:28 +00:00
2021-04-09 17:55:47 +02:00
2021-03-14 11:40:48 +07:00
2021-04-08 23:02:38 +02:00
2021-02-17 13:31:28 +01:00
2021-04-22 13:14:39 +02:00
2021-03-25 20:13:05 +01:00
2021-03-08 02:01:13 +01:00
2021-04-04 03:18:57 +02:00
2021-04-24 13:31:43 +02:00