Commit Graph

22 Commits

Author SHA1 Message Date
R. Ryantm
d56d232ba5 ast-grep: 0.20.0 -> 0.20.2 2024-04-02 07:04:04 +00:00
R. Ryantm
c70bc6c332 ast-grep: 0.19.4 -> 0.20.0 2024-03-24 13:52:49 +00:00
github-actions[bot]
06e5eb63d3
Merge staging-next into staging 2024-03-11 18:01:53 +00:00
R. Ryantm
b625731bdd ast-grep: 0.19.3 -> 0.19.4 2024-03-11 13:44:51 +00:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Nikita Pedorich
5de488a039
ast-grep: install shell completions 2024-03-09 17:30:35 +09:00
R. Ryantm
5d36449f4f ast-grep: 0.19.2 -> 0.19.3 2024-02-27 10:16:02 +00:00
Muhammad Falak R Wani
bb7182a755 ast-grep: 0.19.1 -> 0.19.2
Diff: https://github.com/ast-grep/ast-grep/compare/0.19.1...0.19.2
Changelog: https://github.com/ast-grep/ast-grep/blob/0.19.2/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-23 09:30:35 +05:30
Muhammad Falak R Wani
c088dd03fe ast-grep: 0.19.0 -> 0.19.1
Diff: https://github.com/ast-grep/ast-grep/compare/0.19.0...0.19.1
Changelog: https://github.com/ast-grep/ast-grep/blob/0.19.1/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-20 12:39:28 +05:30
R. Ryantm
c18e07c87d ast-grep: 0.18.1 -> 0.19.0 2024-02-15 12:29:27 +00:00
Muhammad Falak R Wani
01d02a374d ast-grep: 0.17.0 -> 0.18.1
Diff: https://github.com/ast-grep/ast-grep/compare/0.17.0...0.18.1
Changelog: https://github.com/ast-grep/ast-grep/blob/0.18.1/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-01 11:46:22 +05:30
Muhammad Falak R Wani
d9a8ad6aa8 ast-grep: 0.16.1 -> 0.17.0
Diff: https://github.com/ast-grep/ast-grep/compare/0.16.1...0.17.0
Changelog: https://github.com/ast-grep/ast-grep/blob/0.17.0/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-01-12 09:48:21 +05:30
R. Ryantm
c81c1b7a4b ast-grep: 0.15.1 -> 0.16.1 2024-01-06 09:35:18 +00:00
R. Ryantm
03fc96c98c ast-grep: 0.14.4 -> 0.15.1 2023-12-25 09:31:32 +00:00
R. Ryantm
7cb1c4696c ast-grep: 0.13.1 -> 0.14.4 2023-12-13 05:46:01 +00:00
eth3lbert
8bba01f034
ast-grep: fix build with clang 12+
Work around NixOS#166205
2023-11-21 15:14:53 +08:00
arathunku
a0259b3c0d
ast-grep: 0.12.5 -> 0.13.1 2023-11-16 08:14:32 +01:00
R. Ryantm
c8c7feedc9 ast-grep: 0.12.4 -> 0.12.5 2023-10-25 00:20:51 +00:00
Christina Sørensen
4c3dbd50cf
ast-grep: 0.12.2 -> 0.12.4
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-04 12:33:10 +02:00
Christina Sørensen
e2484fe737
ast-grep: fix darwin and aarch64_linux
`test::test_load_parser` and `test::test_register_lang` broke by 0.12.1
update (https://github.com/NixOS/nixpkgs/pull/257385).  Please check if
this is fixed in future updates of the package

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Co-authored-by: Artturi <Artturin@artturin.com>
2023-10-03 09:02:31 +02:00
Christina Sørensen
8c00548bbf
ast-grep: ignore test_unmatching_id
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Co-authored-by: Artturi <Artturin@artturin.com>
2023-10-03 09:01:00 +02:00
Christina Sørensen
a6f750c23e
ast-grep: use by-name
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-29 18:36:14 +02:00