Commit graph

17 commits

Author SHA1 Message Date
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
  db29857eb3, 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
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Luka Blaskovic ae2a5a91dd pure: mark as broken 2020-01-30 18:35:30 -05:00
Anders Kaseorg 3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Robin Gloster 313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Piotr Bogdan 8bc5a019e8 pure: link with libLLVMJIT explicitly 2019-01-04 21:44:21 +00:00
Alastair Pharo 9a94dd5e7b pure: 0.66 -> 0.68 2018-04-20 17:57:33 -05:00
Alastair Pharo 2188e0f61f pure: 0.64 -> 0.66 2017-03-12 12:22:52 +11:00
Pascal Wittmann 03bd9a363a pure: fixed build with gcc 4.9 (ZHF)
Reported upstream https://bitbucket.org/purelang/pure-lang/issues/37
2015-07-09 13:52:26 +02:00
Karn Kallio 39a3fd1454 pure: advance to version 0.64; use llvm 3.5 as 3.6 breaks the build 2015-03-31 13:21:47 +02:00
Alastair Pharo d37835295a Upgrade Pure to 0.63 2014-10-23 23:30:27 +11:00
Alastair Pharo f522344285 Update pure to 0.62
Closes #4486
2014-10-12 12:08:29 +01:00
Karn Kallio 32ebe90fa1 pure: fix build with llvm 3.3 2013-10-09 21:23:37 +02:00
Vladimír Čunát b2f8432ad3 pure: update and fix by patching 2013-02-17 11:01:20 +01:00
Karn Kallio 72b7236428 pure 0.49 (compiles again with latest llvm)
svn path=/nixpkgs/trunk/; revision=30737
2011-12-05 09:38:59 +00:00
Michael Raskin 945a329c91 Use readline in pure
svn path=/nixpkgs/trunk/; revision=26751
2011-04-08 08:24:28 +00:00
Michael Raskin 0aff57f299 Adding Pure programming language
svn path=/nixpkgs/trunk/; revision=26749
2011-04-08 08:00:55 +00:00