Commit Graph

90 Commits

Author SHA1 Message Date
zeuner
3e8b2f5cc6
grpc: add missing whitespace in aarch64-darwin NIX_CFLAGS_COMPILE (#256057)
Co-authored-by: Isidor Zeuner <nix@quidecco.pl>
2023-09-20 10:12:40 +03:00
K900
399769897b
grpc: fix generated config file
Taken from PR #249752
2023-08-18 17:19:04 +02:00
Tobias Mayer
54e9994a6b
grpc: refactor cxxStandard selection
GRPC is less aggressive in overriding `CMAKE_CXX_STANDARD` nowadays.
This allows us to take a less invasive approach to ensure that the
provided abseil package is configured with the same implementation
for the provided c++17 compatibility shims.
Instead of always setting `CMAKE_CXX_STANDARD`, we only do it to
override hard-coded downgrade on darwin. With that, we can use the
default configuration for abseil-cpp, reducing the number of instances
of that library in the build closure to one.
2023-08-14 11:50:30 +02:00
Tobias Mayer
39ed10c910
grpc: 1.54.2 -> 1.57.0 2023-08-11 15:32:55 +02:00
Mario Rodas
813f263511 grpc: 1.54.0 -> 1.54.2
https://github.com/grpc/grpc/releases/tag/v1.54.1
https://github.com/grpc/grpc/releases/tag/v1.54.2
2023-05-13 04:20:00 +00:00
Mario Rodas
ea704b798f grpc: 1.53.0 -> 1.54.0
https://github.com/grpc/grpc/releases/tag/v1.54.0
2023-04-15 04:20:00 +00:00
Mario Rodas
9f75cd079c grpc: 1.52.1 -> 1.53.0
https://github.com/grpc/grpc/releases/tag/v1.53.0
2023-03-28 04:20:00 +00:00
Martin Weinelt
f87e47b01a grpc: 1.51.1 -> 1.51.2
https://github.com/grpc/grpc/releases/tag/v1.52.1
2023-03-03 23:57:09 +01: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
Weijia Wang
39938dacb3 grpc: expose cxxStandard 2022-12-19 05:29:26 +01:00
Vladimír Čunát
9e9b992a5b
grpc: fixup build on aarch64-linux by using older C++
This was an older regression than the current staging-next iteration.
2022-12-17 08:59:16 +01:00
Phillip Cloud
a05f2f2053
grpc: build with CMAKE_CXX_STANDARD=17 2022-12-06 09:46:14 -05:00
Mario Rodas
295923f4bc grpc: 1.51.0 -> 1.51.1
https://github.com/grpc/grpc/releases/tag/v1.51.1
2022-11-29 04:20:00 +00:00
Mario Rodas
74bd116d60 grpc: 1.50.0 -> 1.51.0
https://github.com/grpc/grpc/releases/tag/v1.51.0
2022-11-21 04:20:00 +00:00
Mario Rodas
ae3acf95b8
Merge pull request #193352 from mweinelt/grpc
grpcio: 1.48.1 -> 1.49.1
2022-10-23 19:56:53 -05:00
Mario Rodas
7ecc06a7dc grpc: 1.49.1 -> 1.50.0
https://github.com/grpc/grpc/releases/tag/v1.50.0
2022-10-22 04:20:00 +00:00
Jonathan Ringer
74f7adf0be
c-ares: remove passthru.cmake-config 2022-10-13 13:01:20 -07:00
Martin Weinelt
d86e0e4f6c
grpc: 1.48.1 -> 1.49.1 2022-09-28 23:16:12 +02:00
Mario Rodas
fdf9956aba grpc: 1.48.0 -> 1.48.1
https://github.com/grpc/grpc/releases/tag/v1.48.1
2022-09-01 04:20:00 +00:00
Robert Scott
eae69ea5d4 grpc: add arrow-cpp to passthru.tests
reverse dependency is sensitive to changes as exhibited by
https://github.com/NixOS/nixpkgs/pull/182157
2022-08-06 00:33:26 +01:00
Mario Rodas
9c6b1fbce3 grpc: 1.47.0 -> 1.48.0
https://github.com/grpc/grpc/releases/tag/v1.48.0
2022-07-19 04:20:00 +00:00
Josef Kemetmüller
1ca04aa9f1 treewide: Stop setting CMAKE_SKIP_BUILD_RPATH=OFF
This is now the new default and thus doesn't need to be set manually
anymore.
2022-07-04 03:49:01 +03:00
Mario Rodas
4e03320ec5 grpc: 1.46.3 -> 1.47.0
https://github.com/grpc/grpc/releases/tag/v1.47.0
2022-06-24 04:20:00 +00:00
Mario Rodas
b54ff51096 grpc: 1.46.1 -> 1.46.3
https://github.com/grpc/grpc/releases/tag/v1.46.2
https://github.com/grpc/grpc/releases/tag/v1.46.3
2022-05-20 04:20:00 +00:00
Mario Rodas
194e05f8af grpc: 1.45.2 -> 1.46.1
https://github.com/grpc/grpc/releases/tag/v1.46.0
https://github.com/grpc/grpc/releases/tag/v1.46.1
2022-05-04 04:20:00 +00:00
Martin Weinelt
44604a6a16 grpc: 1.44.0 -> 1.45.2 2022-04-10 00:08:24 +02:00
Fabian Affolter
81380e5b4a grpc: 1.43.0 -> 1.44.0 2022-02-18 11:46:53 +01:00
Jonathan Ringer
de9249f9da grpc: add comment about updating python3Packages.grpcio-status
- Add python packages as tests
2021-12-22 00:25:05 -08:00
Mario Rodas
1fcc7c0ef4 grpc: 1.42.0 -> 1.43.0
https://github.com/grpc/grpc/releases/tag/v1.43.0
2021-12-18 04:20:00 +00:00
Mario Rodas
df03e376fb grpc: fix build on aarch64 2021-11-19 20:19:42 -05:00
Mario Rodas
deb8e275ea grpc: 1.41.0 -> 1.42.0
https://github.com/grpc/grpc/releases/tag/v1.42.0
2021-11-18 04:20:00 +00:00
Phillip Cloud
f506ecdca9
all-packages: pass cxxStandard to or-tools 2021-11-01 11:50:37 -04:00
Phillip Cloud
1a590c529c
grpc: remove explicit cxx17 requirement coming from abseil-cpp 2021-11-01 11:50:20 -04:00
sternenseemann
8e57c33ab6 pkgsLLVM.grpc: fix build with clang < 11
Apparently there's an issue where compiling grpc with -std=c++17 fails
unless the clang version is at least 11. Hopefully our default clang
version will be increased to that soon, but until then we need to work
around this problem by setting an older C++ standard.

It's unclear if using C++11 causes further issues, but compiling is
better than not compiling, I suppose.

Contrary to the linked bug report, the darwin stdenv doesn't exhibit
this problem for some reason.
2021-10-07 21:30:02 +02:00
sternenseemann
34ca27bc95 grpc: don't set LD_LIBRARY_PATH when cross compiling
LD_LIBRARY_PATH is only necessary in the native compilation case when we
need to execute grpc_cpp_plugin from the build directory. Disabling this
for cross is not only cleaner, but eliminates linker failures when cross
compiling to a compatible configuration, since LD_LIBRARY_PATH takes
precedence over the rpath set in buildPackages.grpc's grpc_cpp_plugin.
2021-10-07 21:04:39 +02:00
Mario Rodas
3334018e52 grpc: 1.40.0 -> 1.41.0
https://github.com/grpc/grpc/releases/tag/v1.41.0
2021-09-29 09:04:59 -05:00
Mario Rodas
d126476d40 grpc: add patch to revert alias to abseil mutex 2021-09-11 17:00:00 -05:00
Mario Rodas
d7d170e7c4 grpc: 1.39.1 -> 1.40.0
https://github.com/grpc/grpc/releases/tag/v1.40.0
2021-09-07 18:00:00 -05:00
Mario Rodas
4c9338c8dc grpc: 1.39.0 -> 1.39.1 2021-08-22 13:16:18 -05:00
Sandro Jäckel
76341deaab
grpc: format 2021-08-02 13:12:04 +02:00
Sandro Jäckel
42e7791556
grpc: format 2021-08-02 10:59:36 +02:00
Alyssa Ross
b2402c5cd3
grpc: fix cross
I couldn't find any alternative to setting _gRPC_PROTOBUF_PROTOC_EXECUTABLE.
protobuf.cmake uses find_program when cross-compiling, which finds the
host platform's protoc instead of the build platform's.  I even tried
giving protobuf multiple outputs and not including the one with the
binary in buildInputs, but it didn't help.
2021-08-01 13:03:24 +00:00
Mario Rodas
05a5611fe9 grpc: 1.38.1 -> 1.39.0
https://github.com/grpc/grpc/releases/tag/v1.39.0
2021-07-21 04:20:00 +00:00
Mario Rodas
63b199c193 grpc: 1.38.0 -> 1.38.1
https://github.com/grpc/grpc/releases/tag/v1.38.1
2021-06-23 04:20:00 +00:00
Mario Rodas
04e18727c4 grpc: 1.37.1 -> 1.38.0
https://github.com/grpc/grpc/releases/tag/v1.38.0
2021-05-20 04:20:00 +00:00
Mario Rodas
c8232cbac1 grpc: 1.37.0 -> 1.37.1
https://github.com/grpc/grpc/releases/tag/v1.37.1
2021-04-30 04:20:00 +00:00
Mario Rodas
26279f95f1 grpc: 1.36.4 -> 1.37.0
https://github.com/grpc/grpc/releases/tag/v1.37.0
2021-04-07 04:20:00 +00:00
Mario Rodas
9f759c4a1c
Merge pull request #117160 from marsam/abseil-cpp-shared
abseil-cpp: build shared
2021-03-28 09:34:38 -05:00
Mario Rodas
05212df6b4 grpc: 1.36.1 -> 1.36.4 2021-03-20 04:20:00 +00:00
Mario Rodas
eff48104db grpc: do not use vendored abseil 2021-03-20 04:20:00 +00:00