abseil-cpp: Enable loongarch64

Base on https://github.com/abseil/abseil-cpp/pull/1110 to enable
  loongarch64
This commit is contained in:
jackyliu16 2023-05-01 23:39:25 +08:00
parent 468356287f
commit 23bd354873

View file

@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
url = "https://github.com/abseil/abseil-cpp/commit/5bfa70c75e621c5d5ec095c8c4c0c050dcb2957e.patch";
sha256 = "0nhjxqfxpi2pkfinnqvd5m4npf9l1kg39mjx9l3087ajhadaywl5";
})
] ++ lib.optionals stdenv.hostPlatform.isLoongArch64 [
# https://github.com/abseil/abseil-cpp/pull/1110
(fetchpatch {
url = "https://github.com/abseil/abseil-cpp/commit/808bc202fc13e85a7948db0d7fb58f0f051200b1.patch";
sha256 = "sha256-ayY/aV/xWOdEyFSDqV7B5WDGvZ0ASr/aeBeYwP5RZVc=";
})
];
cmakeFlags = [