RFR: 8321533: Clang build for Windows

Daniel Jeliński djelinski at openjdk.org
Fri Dec 8 09:49:13 UTC 2023


On Fri, 8 Dec 2023 08:00:45 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> Is it possible to fold clang-cl into the microsoft toolchain instead, and just pass clang-cl as the compiler instead of cl?

I suppose it's possible; clang-cl output is supposed to be compatible with link & lib, and most command line options are similar.

The thing is, when it comes to warning control, only W0-W4 are somewhat similar between clang-cl and microsoft; other than that, clang-cl accepts the same options as the regular clang. Folding clang-cl into microsoft would leave us with no way to suppress warnings.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17019#issuecomment-1846872278


More information about the build-dev mailing list