summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/llvm/9/default.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge #122044: compiler-rt: Fix build by passing resource dir•••Fast-forwarded from staging to staging-next. See: https://github.com/NixOS/nixpkgs/pull/111487#issuecomment-840088733 Vladimír Čunát2021-05-121-4/+6
|\
| * compiler-rt: Fix build by passing resource dir•••Before, clang was able to find some headers with a relative path to the `-B` flag pointing near the unwrapped clang binary. But with multiple outputs that doesn't work, so we use a "resource directory" as it done later in the bootstrap. John Ericson2021-05-071-4/+6
* | llvm*Packages: fix output selection (lib.get*)Vladimír Čunát2021-05-111-5/+5
|/
* 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-12/+18
* llvmPackages_*.libunwind: Move into own directory•••I expect to soon give it some patches that would go in there too, but either way it's good to match the others. John Ericson2021-03-261-1/+1
* llvmPackages: Organize files•••Always do pkg/default.nix not pkg.nix; use directories to avoid prefixing patches and other files. John Ericson2021-03-241-6/+7
* clang, cc-wrapper: Move `--gcc-toolchain` logic into CC wrapper•••Take 2, after #94582 had to be reverted. This reverts commit ac03cfa3c57027e82073ea7db71248d4ab78af66. John Ericson2021-01-241-2/+0
* pkgs/development/compilers: stdenv.lib -> libBen Siraphob2021-01-231-11/+11
* treewide: Get rid of `cc.gcc`•••Instead, we have a new `gccForLibs`, which has the appropriate definition for e.g. avoiding `x86_32` linking problems. John Ericson2020-08-021-4/+6
* llvmPackages_{8..10}: comment out broken manpages•••This disables all manpages packages depending on recommonmark. This can be undone once recommonmark supports sphinx 3. The other manpage-packages don't use recommonmark and don't need to be commented out. Holger Wünsche2020-07-281-4/+5
* C++ Compilers: Systematize handling of standard librariesJohn Ericson2020-06-221-16/+3
* LLVM: Always pass host/target info to compiler-rt/libstdcxxClangTravis Whitaker2020-04-131-2/+8
* cc-wrapper, clang: `libstdcxxHook` should a propagated build input•••Lumping it in with the target platform libraries was incorrect, and caused eval failures when gcc couldn't be built for the target platform. John Ericson2020-03-181-1/+3
* Re-Revert "clang_7,clang_8,clang_9: fix compilation of HIP-code"•••This reverts commit f14a4d60b74625547ba7fc0572e42e9b61c0e54f, and thus applying 558af6fbc7c15f472658339668113f4d5c6440e0. Matthew Bauer2020-01-281-0/+1
* llvmPackages: python2 -> python3Daiderd Jordan2020-01-131-5/+5
* llvmPackages_9: 9.0.0 -> 9.0.1•••Fetch from github release page, as that's where https://releases.llvm.org/9.0.1 redirects. Will Dietz2020-01-011-3/+3
* llvmPackages_9: fetch from releases.llvm.org ("for now")Will Dietz2019-09-191-1/+1
* llvmPackages_9: hashes, pname-ificationWill Dietz2019-09-191-2/+2
* llvmPackages_9: copy llvmPackages_8Will Dietz2019-09-191-0/+197