Commit Graph

28 Commits

Author SHA1 Message Date
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
R. Ryantm
9669a8b553 qdrant: 1.7.3 -> 1.7.4 2024-01-30 00:23:00 +00:00
Weijia Wang
42c16cd10a qdrant: fix build on darwin 2024-01-03 23:56:25 +01:00
R. Ryantm
34031ce8f5 qdrant: 1.6.1 -> 1.7.3 2023-12-23 03:17:56 +00:00
Weijia Wang
24400ebf9e
Merge pull request #261476 from r-ryantm/auto-update/qdrant
qdrant: 1.5.1 -> 1.6.1
2023-10-28 03:29:16 +02:00
Yureka
799fff889b tree-wide: make rust jemalloc-sys use nixpkgs jemalloc build 2023-10-20 14:26:07 +02:00
R. Ryantm
48bb9de108 qdrant: 1.5.1 -> 1.6.1 2023-10-16 19:25:32 +00:00
happysalada
f5f7714497 qdrant: 1.5.0 -> 1.5.1 2023-09-13 11:36:28 +00:00
happysalada
839b5b97f3 qdrant: 1.4.1 -> 1.5.0 2023-09-07 08:00:04 -04:00
happysalada
7a1c91e4ec qdrant: 1.4.0 -> 1.4.1 2023-08-11 18:37:23 +08:00
Weijia Wang
173efb3ddb qdrant: remove prePatch 2023-08-07 14:06:15 +02:00
R. Ryantm
9f13a1d80c qdrant: 1.3.2 -> 1.4.0 2023-08-06 22:34:08 +00:00
R. Ryantm
40a1d22a03 qdrant: 1.3.0 -> 1.3.2 2023-07-19 06:33:31 +00:00
R. Ryantm
99db658cb6 qdrant: 1.2.2 -> 1.3.0 2023-06-27 04:58:51 +00:00
happysalada
64d92ed112 qdrant: 1.1.3 -> 1.2.2 2023-06-01 05:13:39 -04:00
happysalada
e138708d30 qdrant: 1.1.1 -> 1.1.3 2023-05-08 22:39:25 -04:00
happysalada
944a4d5aa0 qdrant: 1.1.0 -> 1.1.1 2023-04-14 17:52:21 -04:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
R. Ryantm
f1d1ce278d qdrant: 1.0.3 -> 1.1.0 2023-03-24 02:48:24 +00:00
R. Ryantm
7c88c18a08 qdrant: 1.0.2 -> 1.0.3 2023-03-09 08:32:03 +00:00
Bernardo Meurer
42008a14a4
Merge pull request #217206 from Artturin/stdenvimprovements1 2023-02-23 12:07:47 +00:00
happysalada
b53bd4a5f0 qdrant: 0.11.2 -> 1.0.2 2023-02-23 04:01:54 -05:00
Artturin
226e149145 treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Pavol Rusnak
bc60f09f79
qdrant: unbreak on x86_64-darwin 2022-12-27 19:24:41 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Mostly Void
68efd9293b
qdrant: 0.9.1 -> 0.11.2 2022-11-13 22:15:03 +05:30
Mostly Void
09aee727ac
qdrant: init at 0.9.1 (#188617)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-08-28 23:42:28 +02:00