This repository was archived by the owner on Dec 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,18 @@ If you are using Windows or macOS there are additional instructions at the end o
6161gRPC [ requires] [ grpc-roots-pem-bug ] an environment variable to configure the trust store for SSL certificates, you
6262can download and configure this using:
6363
64- ``` console
64+ ``` bash
6565curl -Lo roots.pem https://raw.githubusercontent.com/grpc/grpc/master/etc/roots.pem
6666export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=" $PWD /roots.pem"
6767```
6868
69+ To workaround a [ bug in Bazel] [ bazel-grpc-macos-bug ] , gRPC requires this flag on macOS builds, you can add the option
70+ manually or include it in your ` .bazelrc ` file:
71+
72+ ``` bash
73+ bazel build --copt=-DGRPC_BAZEL_BUILD ...
74+ ```
75+
6976### Windows
7077
7178gRPC [ requires] [ grpc-roots-pem-bug ] an environment variable to configure the trust store for SSL certificates, you
@@ -85,3 +92,4 @@ set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
8592[ choco-cmake-link ] : https://chocolatey.org/packages/cmake
8693[ homebrew-cmake-link ] : https://formulae.brew.sh/formula/cmake
8794[ cmake-download-link ] : https://cmake.org/download/
95+ [ bazel-grpc-macos-bug ] : https://github.com/bazelbuild/bazel/issues/4341
You can’t perform that action at this time.
0 commit comments