RFR: 8321533: Clang build for Windows
Julian Waters
jwaters at openjdk.org
Mon Dec 11 12:54:14 UTC 2023
On Fri, 8 Dec 2023 23:17:29 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> > > we need to design the integration of clang-cl in a way that we can (hopefully) reuse existing clang warning disables.
> >
> >
> > I'd love that. Got any preferences on how that should be handled?
>
> Not straight out of my hat, no. I wonder what would happen as a first step if we started looking at the DISABLE_WARNINGS_clang fields, by just using a hack. I'm guessing this will take some experimenting.
How about having clang-cl be one of the clang names recognized for Windows in addition to regular clang, much like how AIX has ibm-clang_r as its TOOLCHAIN_CC_BINARY_clang rather than the default of just clang? I don't know how clang-cl's options differ from the regular clang however, so I don't know how feasible this approach would be
> Julian has been cleaning up some of that,
> but I've no idea how much might be left.
Quite a bit, I'm afraid
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17019#issuecomment-1850018336
More information about the build-dev
mailing list