-
Notifications
You must be signed in to change notification settings - Fork 2.1k
removed windows-specific headers #625
Conversation
|
@drigz I would like to remove Windows specific header files which Bazel requires. Is there a way to avoid this? |
|
Let me take a look at whether I can expand the header templates without introducing a new dependency to the Windows+Bazel build. Since the reference to hash/hash_compare in preprocess.sh appears to be a red herring, I think we can get away with fixed-string-replacements, so this could be possible. |
071ffd2 to
8a9c26a
Compare
|
@drigz For some reason, AppVeyor builds do not show up under merge checks anymore. Do you happen to know what is the problem? |
|
I'm afraid I'm not familiar with AppVeyor. |
|
I believe this is a permission problem in the Github project configuration which I don't have access to. Could you check? (I assume you can see the settings since you're a group member). |
19baf32 to
ae82726
Compare
|
@drigz I would like to drop |
I can see the Settings but I can't see anything problematic: AppVeyor is listed under https://github.com/google/glog/settings/installations, and https://www.appveyor.com/blog/2018/10/02/github-apps-integration/ suggests nothing else is required. Do you have access to the AppVeyor account/UI? Maybe that would have more info.
Why do you want to remove it? It should be possible but I expect it would be more complicated than just leaving the file there. |
|
@drigz Thanks for checking. Unfortunately, I don't have access to the AppVeyor account. I believe only google members have. I tried contacting @ukai already. However, without a response so far. Regarding In the long term, I'd like to remove Windows specific workarounds anyway particularly once we switch to C++17. Keeping the above header is therefore not an option. I've added a rationale for the PR in my initial comment. |
I tried logging into AppVeyor with my GitHub SSO - I couldn't see any existing projects, though - maybe something got deleted. I found googleapis/google-cloud-python#6253 which could be related. Do you know what AppVeyor is needed/used for?
The non-trivial element is that windows/config.h sets |
|
Actually, CMake already generates an For Bazel, this does need to be this complicated. You can use something along the lines of Line 149 in 82320a8
I do not intend to change how these macros are interpreted. As for AppVeyor, we use it for Windows CI builds. Travis builds only for Linux. It seems, @google-admin manages the glog AppVeyor account. |
ae82726 to
7d60d6e
Compare
Eliminate Windows specific headers: