tvl-depot/third_party
sterni 04f7cc3880 fix(3p): resolve linker issues with clang-compiled C++ packages
The point where this broke is likely when llvmPackages_11.stdenv started
respecting stdenv.hostPlatform.linker and thus using GNU binutils'
ld.bfd for linking. That linker can't deal with clang's C++ ABI.

To fix this we introduce a modified version of llvmPackages_11.stdenv
which uses llvmPackages_11.bintools for linking purposes (I also aim to
upstream this in some form, but am not sure about the details atm, so
we'll just do this in the tvl overlay for now). This is the precondition
for getting our C++ packages in //third_party to work
again. Additionally the following fixes were necessary:

* abseil-cpp needed to be updated (by overriding the version from
  nixpkgs for now, since I can't update the subtree on my own) to
  fulfill grpc's requirements (grpc 1.41.0 needs abseil-cpp LTS
  20210324).

* gtest needs a patch from nixpkgs which fixes the path to its include
  directory for CMake.

* We need to build re2 with clang as well, otherwise linking will fail.

Fixes b/132.

Change-Id: I7b64579fe96451547babe070fd35db398581e49d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3701
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Reviewed-by: tazjin <mail@tazj.in>
2021-10-10 10:03:03 +00:00
..
abseil_cpp fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
alsi refactor(users/glittershark): Rename to grfn 2021-04-12 14:45:51 +00:00
apereo-cas chore(3p/nixpkgs): Bump unstable channel to 2021-06-14 2021-06-14 21:47:57 +00:00
bat_syntaxes feat(3p/bat_syntaxes): Add a derivation to extend bat syntaxes 2020-06-15 16:52:23 +00:00
bufbuild chore(3p): Bump nixos-unstable channel 2020-08-17 09:54:18 +00:00
buzz chore(3p/nixpkgs): update channels to 2021-07-25 2021-07-28 12:10:59 +00:00
cgit feat(web/cgit): Use new logo in cgit page 2021-09-27 15:41:29 +00:00
dhall refactor(3p/dhall): Move easy-dhall-nix import into separate folder 2021-04-10 14:32:02 +00:00
elmPackages_0_18 fix(gemma): Fix build by backporting Elm 0.18 2021-03-24 00:54:43 +00:00
emacs fix(tazjin/emacs): Remove temporary override for telega 2021-08-24 17:11:49 +00:00
exwm refactor(3p/exwm): Remove `exwm-input--skip-buffer-list-update' 2021-09-16 11:33:42 +00:00
farmhash feat(third_party): Add Google's farmhash library 2020-05-08 18:39:43 +01:00
gerrit chore(3p/gerrit): Remove avatar padding patch 2021-08-31 15:18:01 +00:00
gerrit_plugins feat(3p/gerrit): Upgrade Gerrit and plugins to v3.4.0 2021-08-28 15:32:53 +00:00
git chore(3p/git): Unvendor git and track patches instead 2021-09-21 14:29:35 +03:00
gitignoreSource fix(gs/xanthous): update xanthous.cabal, make CI catch such errors 2021-03-19 23:21:54 +00:00
glog fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
gopkgs feat(third_party/gopkgs): add charmbracelet/{bubbletea,bubbles} 2021-04-23 18:30:06 +00:00
grpc fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
gtest fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
hii feat(third_party): init hii at 1.0.0 2021-04-01 11:29:51 +00:00
impermanence feat(3p): Import nix-community/impermanence module 2021-03-21 00:55:58 +00:00
irccat feat(3p/irccat): init at '06a985y4' 2020-11-08 18:38:08 +00:00
josh chore(3p/josh): Bump version to latest master 2021-09-16 01:19:16 +00:00
kernelPatches/trx40_usb_audio feat(3p/kernelPatches): Add kernel audio patch for ASUS TRX40 Pro 2020-06-20 22:27:03 +00:00
lisp feat(3p/lisp/mime4cl): search for first (default) mime text part 2021-09-12 21:39:49 +00:00
litestream feat(3p/litestream): Add derivation for litestream 2021-05-22 17:58:31 +00:00
naersk chore(3p/naersk): Bump version to latest commit 2021-06-02 08:00:07 +00:00
nix fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
nixery chore(3p/nixery): Bump to latest version 2021-08-25 13:55:02 +00:00
nixpkgs chore(3p): bump NixOS channels to 2021-10-04 2021-10-05 12:10:18 +00:00
nsfv feat(3p/nsfv): Add derivation for NSFV 2020-06-25 02:27:38 +00:00
overlays fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
prometheus-fail2ban-exporter refactor(ops): Break out prometheus-fail2ban-exporter module 2021-06-12 15:51:49 +00:00
protobuf fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
python/broadlink feat(3p/python/broadlink): Add max_devices discovery parameter 2020-04-26 14:50:04 +01:00
rapidcheck fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
re2 fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
rust-crates feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
smtprelay feat(nixos/smtprelay): Add derivation & module for SMTP relay 2020-06-13 01:23:01 +00:00
default.nix refactor(ops/nixos): Pass depot as a special argument 2021-05-24 21:48:37 +00:00
README.md docs(third_party): Add README 2019-06-29 14:12:38 +01:00

Third-Party Code

Code under this folder is one of the following:

  1. Externally developed dependencies which have been imported ("vendored") into this repository. These dependencies come with their own licenses and whatever else.

  2. Code that is developed inside of this repository, but released to an external repository via Copybara.