How to build archive libraries using bazel?

109 views
Skip to first unread message

Shareef Jalloq

unread,
Dec 5, 2022, 11:10:02 AM12/5/22
to grpc.io
Hi,

I'm trying to generate all the required C++ archive libraries for grpc++ but can't find them after running bazel build :all and I don't see any standout target names.  How do I do this?  Building with CMake works but I'm trying to use Bazel.

Shareef Jalloq

unread,
Dec 7, 2022, 7:45:12 AM12/7/22
to grpc.io
After doing some more research, this is just a limitation of Bazel.  To work around it I found a nice rule that can build a static library:  https://gist.github.com/shareefj/4e314b16148fded3a8ec874e71b07143
Reply all
Reply to author
Forward
0 new messages