We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the cmake tool to build my cmake project with bazel.
one of my deps is glog/0.5.0
I find rules_foreign_cc copy all .h files of glog to folder EXT_BUILD_DEPS/include.
As we can see the glog project https://github.com/google/glog/blob/v0.5.0/bazel/glog.bzl#L140-L147
we only need EXT_BUILD_DEPS/include/glog/xxx.h
But actually, we get all headers even it declare in the filed srcs, like EXT_BUILD_DEPS/include/demangle.h, it's src/demangle.h in glog, declare in https://github.com/google/glog/blob/v0.5.0/bazel/glog.bzl#L120
srcs
EXT_BUILD_DEPS/include/demangle.h
src/demangle.h
This caused some conflicts in our header files.
Is this behavior expected, or are there ways we can avoid unnecessary copies?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using the cmake tool to build my cmake project with bazel.
one of my deps is glog/0.5.0
I find rules_foreign_cc copy all .h files of glog to folder EXT_BUILD_DEPS/include.
As we can see the glog project https://github.com/google/glog/blob/v0.5.0/bazel/glog.bzl#L140-L147
we only need EXT_BUILD_DEPS/include/glog/xxx.h
But actually, we get all headers even it declare in the filed
srcs
, likeEXT_BUILD_DEPS/include/demangle.h
, it'ssrc/demangle.h
in glog, declare in https://github.com/google/glog/blob/v0.5.0/bazel/glog.bzl#L120This caused some conflicts in our header files.
Is this behavior expected, or are there ways we can avoid unnecessary copies?
The text was updated successfully, but these errors were encountered: