Commit Graph

34 Commits

Author SHA1 Message Date
misuzu
d7848386e5 llvmPackages/libllvm: disable failing tests on armv7l 2022-06-05 09:54:18 +03:00
Janne Heß
c911240e9c
Revert "Add mingwW64-llvm cross-system." 2022-05-18 13:50:23 +02:00
Shea Levy
0f68ed163c
Merge branch 'mingwW64-clang' into staging 2022-05-18 06:30:21 -04:00
Shea Levy
15aa32e082
llvm-bintools: passthru targetPrefix.
This is expected e.g. by the GHC cross-compilation code
2022-05-09 10:09:20 -04:00
Shea Levy
b7b9b73760
libcxx/libcxxabi: Fix build on Windows with lld 2022-05-09 10:06:52 -04:00
Shea Levy
5ca96b948c
libcxxabi: Fix build against compiler-rt-using clang 2022-05-09 10:05:50 -04:00
Shea Levy
078a07708a
libunwind: Fix build against compiler-rt-using clang 2022-05-09 10:05:47 -04:00
Shea Levy
dee9af9323
bintools: Add isXXX flags to check linker type 2022-05-09 10:03:48 -04:00
Shea Levy
a73b59a157
llvm-bintools: Include aliases for windres and dlltool on Windows 2022-05-06 10:54:52 -04:00
Emery Hemingway
ff802de61e llvm-14: use nixSupport arguments with wrapCCWith 2022-04-30 21:53:58 -05:00
github-actions[bot]
f6bedc13d1
Merge master into staging-next 2022-04-17 18:01:03 +00:00
7c6f434c
7bcc39de71
Merge pull request #166835 from dtzWill/fix/issue-166833-clang-tools14
llvmPackages_14.clang: include clang-tools-extra in src for use
2022-04-17 13:16:26 +00:00
github-actions[bot]
1c0229dbfd
Merge staging-next into staging 2022-04-15 00:03:21 +00:00
Michael Weiss
84dbfa8f97
llvmPackages_14: 14.0.0 -> 14.0.1 2022-04-13 22:30:31 +02:00
Lassulus
a1780e4b7d
Merge pull request #162607 from waldheinz/libllvm-drop-static
llvmPackages/libllvm: do not include static archives when shared is r…
2022-04-08 19:39:18 +01:00
Will Dietz
075c5eb8d3 llvmPackages_14.clang: include clang-tools-extra in src for use
Fixes #166833.

The build creates a symlink for this assuming it's present,
so be sure it's there when filtering the source for clang.

Alternatively we could use LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
2022-04-01 11:09:39 -05:00
Aleksey Kladov
6d111cbf61 Clarify that lld package provides unwrapped lld
lld package provides an unwrapped lld. It doesn't always work on NixOS
(eg, it doesn't set rpath), and so dosen't always work.

What one should be using instead is the `lld` from
`llvmPackages.bintools` package. This super counterintutive.

One incremental step we can take here is to clarify that the `lld`
package is unrwapped -- right now, it looks like 100% legit thing one
should be using!
2022-03-27 18:14:55 -04:00
Will Dietz
2efcc3e297 openmp: disable tests due to failures 2022-03-24 18:58:38 -05:00
Will Dietz
4f3116f754 openmp: drop fix-find-tool patch, set *_TOOL vars directly 2022-03-24 18:58:38 -05:00
Will Dietz
7151381aab openmp: tests, few failures 2022-03-24 18:58:38 -05:00
Will Dietz
5e04d64aed openmp: no longer broken 2022-03-24 18:58:38 -05:00
Will Dietz
790c4f13dd openmp: new fix-find-tools patch 2022-03-24 18:58:38 -05:00
Will Dietz
641c2d3b7b llvmPackages_14.openmp: fix install dirs patch 2022-03-24 18:58:38 -05:00
Michael Weiss
c9cfbe0899
llvmPackages_14: 14.0.0-rc4 -> 14.0.0 2022-03-23 23:21:32 +01:00
Michael Weiss
f0c2e46468
llvmPackages_14: 14.0.0-rc2 -> 14.0.0-rc4 2022-03-13 13:34:54 +01:00
Michael Weiss
90d9b7c8dc
llvmPackages: Fix the update script 2022-03-13 13:34:50 +01:00
Michael Weiss
dd8169da3e
llvmPackages_14: 14.0.0-rc1 -> 14.0.0-rc2 2022-03-08 22:27:24 +01:00
Matthias Treydte
1748887ff2 llvmPackages/libllvm: move static archives to dev output
Reduces closure size by ~240MiB (down to ~100MiB) for
LLVM 13, the others are similar.

Having those archives in the lib output makes no sense
as they are no runtime dependencies. Removing them
alltogether is also not an option because the dynamic
libraries offer only the C API while many users of
libllvm require the C++ API. Those users must have an
dependency on libllvm.dev anyway and will find those
files for linking.
2022-03-04 13:05:53 +01:00
Michael Weiss
5040ab9149
llvmPackages_14: Mark broken packages
I quickly went over the latest Hydra evaluation:
https://hydra.nixos.org/eval/1746327?filter=llvmPackages_14&compare=1746266&full=#tabs-still-fail
2022-03-01 23:37:00 +01:00
Michael Weiss
3bce8227a0
llvmPackages_14.lld: Update fix-root-src-dir.patch to fix the build 2022-02-28 12:34:08 +01:00
Michael Weiss
323837f7db
llvmPackages_14: 2022-01-07 -> 14.0.0-rc1 2022-02-27 23:23:02 +01:00
Michael Weiss
45cd41de23
llvmPackages_{git,14}: Replace tabs in lld/default.nix
This fixes a CI warning [0]:
Run cat "$HOME/changed_files" | xargs -r editorconfig-checker -disable-indent-size
pkgs/development/compilers/llvm/14/lld/default.nix:
	28: Wrong indent style found (tabs instead of spaces)
	29: Wrong indent style found (tabs instead of spaces)
	30: Wrong indent style found (tabs instead of spaces)

[0]: https://github.com/NixOS/nixpkgs/runs/5351700772
2022-02-27 20:25:20 +01:00
Michael Weiss
d61e45b686
llvmPackages_14: init at 2022-01-07
This is a temporary hack until I have time to update the patches for
14.0.0-rc1. We need llvmPackages_14 *NOW* for Chromium M99.
2022-02-27 19:11:30 +01:00
Michael Weiss
e2ba45f5ab
llvmPackages_14: Copy the files from llvmPackages_git 2022-02-27 18:49:21 +01:00