Skip to content

Commit

Permalink
grpc-1.67: Use abseil-cpp-compiler-options
Browse files Browse the repository at this point in the history
See: wolfi-dev#34075

Signed-off-by: dann frazier <[email protected]>
  • Loading branch information
dannf committed Nov 17, 2024
1 parent 204dac9 commit eb842a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions grpc-1.67.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,15 @@ pipeline:
cd third_party
git submodule update --init --recursive
- runs: |
- environment:
# https://github.com/wolfi-dev/os/issues/34075
CMAKE_CXX_FLAGS: "-specs abseil-cpp.spec"
runs: |
mkdir -p "${{targets.destdir}}"/usr/share/doc/grpc
cmake -B _build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
-DCMAKE_CXX_STANDARD=17 \
-DBUILD_SHARED_LIBS=True \
-DgRPC_INSTALL=ON \
Expand Down Expand Up @@ -114,7 +118,7 @@ subpackages:
pipeline:
- uses: py/pip-build-install
environment:
GRPC_PYTHON_CFLAGS: "-std=c++17"
GRPC_PYTHON_CFLAGS: "-std=c++17 -specs abseil-cpp.spec"
GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY: "1"
GRPC_PYTHON_BUILD_SYSTEM_CARES: "1"
GRPC_PYTHON_BUILD_SYSTEM_OPENSSL: "1"
Expand Down

0 comments on commit eb842a9

Please sign in to comment.