feat(3p/absl): import StatusOr from tensorflow

Additionally, add tests for the macros. A future CL will enable the tests in CI.

Change-Id: Id4445a1aa65bf6751b87606f37654f3fc6d20efc
Tested-By: kanepyork <rikingcoding@gmail.com>
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1274
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Kane York 2020-07-18 16:23:33 -07:00 committed by Kane York
parent bd02cae032
commit 9f5f71616a
6 changed files with 1481 additions and 1 deletions

View file

@ -3,12 +3,15 @@
let inherit (pkgs) cmake llvmPackages;
in llvmPackages.libcxxStdenv.mkDerivation rec {
pname = "abseil-cpp";
version = "20200519-768eb2ca";
version = "20200519-768eb2ca+tvl-1";
src = ./.;
nativeBuildInputs = [ cmake ];
# TODO: run tests
# doCheck = true;
cmakeFlags = [
"-DCMAKE_CXX_STANDARD=17"
#"-DABSL_RUN_TESTS=1"
];
meta = with lib; {