Skip to content

Remove usage of COMPILER_MSVC in Bazel and ijar - #5350

Closed
rongjiecomputer wants to merge 1 commit into
bazelbuild:masterfrom
rongjiecomputer:compiler_msvc
Closed

rongjiecomputer wants to merge 1 commit into
bazelbuild:masterfrom
rongjiecomputer:compiler_msvc

Conversation

@rongjiecomputer

Copy link
Copy Markdown
Contributor

Convert most COMPILER_MSVC to _WIN32 (as they apply to Windows platform, not MSVC compiler). Only src/tools/singlejar/zip_headers.h and src/main/cpp/util/md5.h actually need _MSC_VER.

COMPILER_MSVC in third_party/protobuf are not removed. They can be fixed by updating dependency to newer version.

/cc @meteorcloudy

Change-Id: Ibc131abfaf34a0cb2bd338549983ea9d28eaabfe
@rongjiecomputer

Copy link
Copy Markdown
Contributor Author

There is one bazel test //src/test/java/com/google/devtools/build/lib:remote-tests failing due to test timeout. I am going to guess that it has nothing to do with my change.

Did someone just use my email address to sign up for a Buildkite account? I got an email from Buildkite to verify email.

@meteorcloudy

Copy link
Copy Markdown
Member

@rongjiecomputer Yes, the failure is irrelevant.

I triggered the tests by clicking a buildkite page, maybe that caused buildkite to send you an email?
@buchgr can confirm the CI setup and maybe tell buildkite not to spam our users?

@rongjiecomputer

rongjiecomputer commented Jun 8, 2018 •

Copy link
Copy Markdown
Contributor Author

I triggered the tests by clicking a buildkite page, maybe that caused buildkite to send you an email?

I don't think that is the case. You reviewed my previous PR and it did not trigger an email from Buildkite.

EDIT: I contacted Buildkite and they sorted it out.

@bazel-io bazel-io closed this in 4022bac Jun 11, 2018
@rongjiecomputer
rongjiecomputer deleted the compiler_msvc branch June 11, 2018 11:49
werkt pushed a commit to werkt/bazel that referenced this pull request Aug 2, 2018
Convert most `COMPILER_MSVC` to `_WIN32` (as they apply to Windows platform, not MSVC compiler). Only `src/tools/singlejar/zip_headers.h` and `src/main/cpp/util/md5.h` actually need `_MSC_VER`.

`COMPILER_MSVC` in `third_party/protobuf` are not removed. They can be fixed by updating dependency to newer version.

/cc @meteorcloudy

Closes bazelbuild#5350.

Change-Id: Ibc131abfaf34a0cb2bd338549983ea9d28eaabfe
PiperOrigin-RevId: 200019793
werkt pushed a commit to werkt/bazel that referenced this pull request Oct 19, 2018
Convert most `COMPILER_MSVC` to `_WIN32` (as they apply to Windows platform, not MSVC compiler). Only `src/tools/singlejar/zip_headers.h` and `src/main/cpp/util/md5.h` actually need `_MSC_VER`.

`COMPILER_MSVC` in `third_party/protobuf` are not removed. They can be fixed by updating dependency to newer version.

/cc @meteorcloudy

Closes bazelbuild#5350.

Change-Id: Ibc131abfaf34a0cb2bd338549983ea9d28eaabfe
PiperOrigin-RevId: 200019793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants