Commit Graph

11 Commits

Author SHA1 Message Date
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Symphorien Gibol
55ac8ffa43 ocamlPackages.llvm: propagate needed libs, fix missing build parameter
The opam patch makes ocaml link dependent executables with
-L${LLVM_OCAML_EXTERNAL_LLVM_LIBDIR}. This variable was previously
undefined and as a result the linker would previously be called with
just -L which makes it ignore the next argument. This would lead strange
linking errors, like missing caml_apply2.

Despite defining this variable correctly, propagating llvm is still
necessary for linking to complete. In case ocaml-llvm is a transitive
dependency only, propagatedBuildInputs is not enough. To avoid having to
guess which version of llvm was used, we provide the right one in
passthrough.
2019-10-11 08:19:51 +02:00
Franz Pletz
de85797565
Merge remote-tracking branch 'origin/master' into gcc-8 2019-09-03 22:15:07 +02:00
Franz Pletz
e7b6d8790f
ocamlPackages.llvm: build with llvm_8 2019-09-03 21:25:23 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Vincent Laporte
8ab3a2a232 Revert "ocamlPackages.llvm: fix hash"
This reverts commit 0c8cf28091.
2017-04-28 16:19:57 +00:00
Vincent Laporte
0c8cf28091 ocamlPackages.llvm: fix hash 2017-04-18 17:32:18 +00:00
Vincent Laporte
b2b8a412fb ocaml-llvm: 3.7.1 -> 3.9.1 2017-03-13 19:14:11 +01:00
Vincent Laporte
4083964c6f ocaml-llvm: fix build on darwin 2016-10-10 19:16:32 +02:00
Nicolas B. Pierron
72c6f8a140 Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
Vincent Laporte
620063af36 ocaml-llvm: init at 3.7.0 2015-10-16 13:28:54 +02:00