Skip to content

Commit

Permalink
ensure C++17 is used also for grpcio on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 15, 2023
1 parent 40a5071 commit c8150fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/build-grpcio.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set "GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True"
set "GRPC_PYTHON_BUILD_SYSTEM_RE2=True"
set "GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True"
set "GRPC_PYTHON_BUILD_WITH_CYTHON=True"
set "GRPC_PYTHON_CFLAGS=/DPB_FIELD_16BIT"
set "GRPC_PYTHON_CFLAGS=/DPB_FIELD_16BIT /std:c++17"

:: clearing this regenerates it with cython and fixes phtread usage
del src\python\grpcio\grpc\_cython\cygrpc.cpp
Expand Down

0 comments on commit c8150fe

Please sign in to comment.