annalee
9e5b7b2ceb
treewide: drop LLVM10
2024-01-30 06:30:28 +00:00
annalee
7a0dc7c7e8
treewide: drop LLVM8
2024-01-25 12:24:51 +00:00
github-actions[bot]
8c2ba7797a
Merge master into staging-next
2024-01-25 12:01:19 +00:00
Naïm Favier
6d11e88fed
Merge pull request #280945 from katexochen/treewide/unref-patches
...
treewide: cleanup unreferenced patch files
2024-01-25 12:42:50 +01:00
github-actions[bot]
4dea63e421
Merge master into staging-next
2024-01-20 18:01:02 +00:00
Alyssa Ross
c1e6f66dc5
llvmPackages.compiler-rt: mark broken for RISC-V GCC
...
c33c7c3d5f
("clang_11: Fix RISC-V builds for compiler-rt. (#135718 )")
already marked tihs as broken for LLVM 11, but didn't apply the same
change to other affected LLVM versions.
2024-01-20 13:21:24 +01:00
Paul Meyer
1db64f27b4
llvm: remove unreferenced patch
2024-01-14 15:28:14 +01:00
github-actions[bot]
e59c8549eb
Merge staging-next into staging
2024-01-13 18:01:22 +00:00
SharzyL
810cef75ba
llvmPackages_*.clangUseLLVM: add libunwind to lib search path
2024-01-13 11:16:58 +08:00
Nikodem Rabuliński
6305515e45
lldb: add meta.mainProgram
2024-01-12 20:06:31 +01:00
Nikodem Rabuliński
62cb8f4628
llef: init at unstable-2023-10-18
2024-01-12 20:06:30 +01:00
Ryan Lahfa
cc34adbe66
Merge pull request #280126 from lxsameer/staging
...
llvm: Avoid cross compiling if the build platform can execute host binaries
2024-01-12 19:25:35 +01:00
a-n-n-a-l-e-e
2ec46240ae
llvmPackages_{15,16,17,git}.libcxx: fix darwin link flags ( #278945 )
...
This change applies the upstream PR
https://github.com/llvm/llvm-project/pull/77218 so the same link flags
on darwin are used as when LIBCXX_CXX_ABI=libcxxabi. Specifically, this
adds
"-Wl,-force_symbols_not_weak_list,${CMAKE_CURRENT_SOURCE_DIR}/../lib/notweak.exp"
which prevents libcxx from segfaulting on darwin
2024-01-12 08:45:41 -06:00
Sameer Rahmani
a0b4b85bfa
llvm: Avoid cross compiling if the build platform can execute host binaries
2024-01-11 11:00:31 +00:00
Weijia Wang
2f9e98ccf3
Merge branch 'master' into staging-next
2024-01-10 23:12:44 +01:00
Weijia Wang
0373b68de5
Merge pull request #279581 from trofi/clang6Stdenv-and-co-removal
...
clang6Stdenv, clang-tools_6, clang_6, lld_6, lldb_6, llvm_6: remove
2024-01-10 23:11:42 +01:00
Weijia Wang
4994d382bb
Merge pull request #279404 from trofi/llvm-bintool-targtePrefix-eval-fix
...
llvmPackages.bintools.bintools: expose `targetPrefix` attribute to ma…
2024-01-10 19:50:51 +01:00
Weijia Wang
927f9393c1
llvmPackages_6: remove
...
Remove as the last two users are gone.
2024-01-09 22:38:47 +01:00
Martin Weinelt
ef1898454c
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/development/python-modules/aiohappyeyeballs/default.nix
2024-01-08 16:34:52 +01:00
Sergei Trofimovich
88f8b20419
llvmPackages.bintools.bintools: expose targetPrefix
attribute to match binutils
...
Before the change `llvmPackages.bintools.bintools.targetPrefix` was not
present. This exposed as a discrepansy between `binutils` and `llvm`:
`binutils`:
nix-repl> stdenv.cc.bintools.bintools.targetPrefix
""
nix-repl> stdenv.cc.bintools.targetPrefix
""
`llvm`:
nix-repl> pkgsLLVM.stdenv.cc.bintools.targetPrefix
"x86_64-unknown-linux-gnu-"
nix-repl> pkgsLLVM.stdenv.cc.bintools.bintools.targetPrefix
error:
error: attribute 'targetPrefix' missing
As a result some attributes like `pkgsLLVM.actionlint` failed to
evaluate:
$ nix build --no-link -f. pkgsLLVM.actionlint
...
error: attribute 'targetPrefix' missing
at pkgs/development/compilers/ghc/9.4.8.nix:232:46:
231| export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
232| export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip"
| ^
The change exposes binary prefix the same way as `binutils` does.
2024-01-07 14:47:22 +00:00
Weijia Wang
8741644b3f
lldb: allow to be used as vscode extension again
2024-01-06 00:30:14 +01:00
Vladimír Čunát
8a839514de
Merge branch 'master' into staging-next
2024-01-04 15:07:44 +01:00
sternenseemann
23cf198545
llvmPackages_{16,17,git}.lldb: tell cc-wrapper about libclang*.so
...
It appears that LLVM's build system no longer sets the executable's
rpath to include the faux resource root we pass in, so we need to make
sure cc-wrapper does this.
2024-01-04 11:00:25 +01:00
Semion Nadezhdin
622a03c198
llvmPackages_{14,15,16,17,git}.lldb: unify lua and python path patch
2024-01-04 11:00:25 +01:00
Weijia Wang
eb5334c27d
Merge branch 'master' into staging-next
2024-01-03 03:22:40 +01:00
Bernardo Meurer
8e5a5551e8
Merge pull request #273788 from sternenseemann/llvmgold-clang-16-and-above
2023-12-22 20:06:56 -03:00
Weijia Wang
6afc8c2675
lldb_14: fix broken bindings again
2023-12-22 04:13:15 +01:00
Alyssa Ross
333088006c
pkgsLLVM.llvmPackages.compiler-rt: fix for RISC-V
...
compiler-rt includes <linux/unistd.h> on RISC-V. This only seems to
be necessary for useLLVM, but looking at the source code I can't
see any reason for that, so probably in the non-useLLVM case it just
gets propagated in.
2023-12-19 11:34:37 +01:00
Ryan Lahfa
b8c38597c9
Merge pull request #269904 from willcohen/emscripten-3.1.48
2023-12-13 19:40:24 +01:00
sternenseemann
3e8355df84
llvmPackages_{16,17,git}: reenable LLVMgold plugin
...
See https://github.com/nixos/nixpkgs/issues/123361 for context regarding
the clang patch.
Seems like the https://github.com/llvm/llvm-project/issues/61350 crash
no longer occurs in the test suite and we can reenable the gold plugin
by default.
2023-12-12 17:36:20 +01:00
sternenseemann
6db6c6df7b
llvmPackages_*: update name for LLVMgold patch for clang >= 11
...
It no longer applies to clang >= 16, let's make the name correspond to
the versions it applies to.
2023-12-12 16:49:07 +01:00
Weijia Wang
f6da64f8db
llvmPackages_17.libclc: init
2023-12-12 02:28:36 +01:00
Will Cohen
a4daad0caa
llvmPackages_17.lld: backport table-base patch
...
Starting with emscripten-3.1.46, this flag to LLVM is needed.
This is a backport of
93adcb770b
.patch,
with additional review at https://reviews.llvm.org/D158892 and
emscripten-core/emscripten#20097 .
2023-12-11 11:48:50 -05:00
Weijia Wang
c9e419dee9
Merge pull request #272931 from wegank/llvm-17-bump
...
llvmPackages_17: 17.0.2 -> 17.0.6
2023-12-09 12:23:13 +01:00
Weijia Wang
99fa28912a
llvmPackages_17: 17.0.2 -> 17.0.6
2023-12-08 16:14:54 +01:00
Weijia Wang
5ec25fa1d4
llvmPackages_git: sync with llvmPackages_17
2023-12-08 15:49:21 +01:00
Weijia Wang
1be4693cf2
Merge pull request #258614 from ExpidusOS/feat/llvm-17
...
llvmPackages_17: init
2023-12-08 15:11:29 +01:00
Tristan Ross
d6d5c8a14e
llvmPackages_17: init
2023-12-07 16:28:06 -08:00
sternenseemann
ae29d067ff
llvmPackages_7: remove at 7.1.0
2023-12-04 19:42:57 +01:00
Randy Eckenrode
cc2d0f04db
llvmPackages_6.lldb: fix build on x86_64-darwin
2023-11-25 16:31:12 -05:00
Randy Eckenrode
856eb81d1f
llvmPackages_{7,8,9}.{llvm-polly,libllvm-polly}: fix build with clang 16
...
Same fix as https://github.com/NixOS/nixpkgs/pull/265967 .
2023-11-25 16:31:12 -05:00
Artturi
1ea40b20f1
Merge pull request #268812 from Artturin/llvmdedup3
2023-11-23 21:00:27 +02:00
Artturin
8b68c650d8
llvmPackages_16.libclc: fix cross eval
...
libclc was moved in to the set in 223afab31f
2023-11-22 21:50:36 +02:00
Artturin
f6749cddad
llvmPackages_11.compiler-rt: restore libcxxabi
argument
...
Removing this caused
`error: anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/compilers/llvm/11/compiler-rt/default.nix:1:1 called with unexpected argument 'libcxxabi'`
https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20%2Fcompiler-rt.override%2F&type=code
The argument became unused in 56fcbcd154 (diff-b1bb77941db4393b7d2cf7a370cee294318418f2507b7a78e22353d1afbb6d21L18)
but it was not removed from `buildInputs` in later `llvmPackages` because `llvmPackages_12` had
been created before this change was done.
Removing `libcxxabi` from `buildInputs` may have to be applied to the
other `llvmPackages` too.
2023-11-21 17:45:58 +02:00
Artturin
b59fd202d7
llvmPackages: Remove dead code
...
for hygiene
Run `deadnix . --edit`
`gccForLibs` is an argument used by multi.nix but it's an argument to
cc-wrapper, not to llvmPackages.
`@args` in `llvm/default.nix` was accidentally added in 4badff49fd
There are no uses of `@` therefore these changes are safe.
2023-11-21 02:05:15 +02:00
Artturin
c1e1a583a0
llvmPackages_{13,14}: Use releaseInfo and monorepoSrc
...
Doing the same thing as was done in the initial adding of `monorepoSrc` to `llvmPackages_15` d231d18e4a
2023-11-21 01:46:51 +02:00
Artturin
e6751897e0
llvmPackages: Dedupe monorepoSrc
2023-11-21 01:46:51 +02:00
Artturin
5ac86a99e7
llvmPackages: Dedupe releaseInfo
2023-11-21 01:46:51 +02:00
Artturin
2902f99c57
llvmPackages: Dedupe llvm_meta
2023-11-21 01:46:47 +02:00
Weijia Wang
25b33e9c70
Merge pull request #267298 from boltzmannrain/lldb7_macos
...
lldb_7: fix x86_64-darwin build
2023-11-18 05:42:14 +01:00