summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/llvm/default.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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)` Andrew Childs2021-04-301-7/+7
* ocamlPackages: stdenv.lib → lib•••This change was produced by searching for remaining occurrences of stdenv.lib and replacing them manually. Reference #108938. sternenseemann2021-01-121-4/+4
* treewide: cmake buildInputs to nativeBuildInputs, minor cleanupsBen Siraphob2021-01-011-1/+2
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-101-1/+1
* treewide: replace make/build/configure/patchFlags with nix listsMerijn Broeren2019-12-301-2/+2
* 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. Symphorien Gibol2019-10-111-1/+7
* Merge remote-tracking branch 'origin/master' into gcc-8Franz Pletz2019-09-031-1/+2
|\
| * treewide: name -> pnamevolth2019-08-171-1/+2
* | ocamlPackages.llvm: build with llvm_8Franz Pletz2019-09-031-4/+6
|/
* Revert "ocamlPackages.llvm: fix hash"•••This reverts commit 0c8cf2809155b8a74df8feccbaa4b272a86b06ed. Vincent Laporte2017-04-281-1/+1
* ocamlPackages.llvm: fix hashVincent Laporte2017-04-181-1/+1
* ocaml-llvm: 3.7.1 -> 3.9.1Vincent Laporte2017-03-131-11/+13
* ocaml-llvm: fix build on darwinVincent Laporte2016-10-101-1/+1
* Ensure that we can evaluate the platform attribute of ocaml packages.Nicolas B. Pierron2016-03-131-1/+1
* ocaml-llvm: init at 3.7.0Vincent Laporte2015-10-161-0/+35