mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schwartzmeyer (JIRA)" <>
Subject [jira] [Commented] (MESOS-7295) Build with Clang on Windows
Date Fri, 13 Apr 2018 21:07:00 GMT


Andrew Schwartzmeyer commented on MESOS-7295:

With Clang 5 and Ninja I was able to get quite a bit further.
$env:PATH += ";C:\Program Files\LLVM\bin"
Both stout-tests and libprocess-tests built after some hacks (bad use of {{##}} macro in libapr,
just replaced with {{1}}, fix ternary op in {{process.cpp}} to construct {{int_fd(-1)}} since
otherwise the types mismatch, disable a bunch of warnings for GoogleTest because of {{/WX}}).
But mesos-tests didn't built, and I didn't need to go further as Clang 6 for cquery is now
working (that is, with {{compile_commands.json}} generated by Ninja).

> Build with Clang on Windows
> ---------------------------
>                 Key: MESOS-7295
>                 URL:
>             Project: Mesos
>          Issue Type: Wish
>          Components: build
>         Environment: Windows 10.0.14393
> cmake version 3.7.2
> clang version 4.0.0
> Visual Studio 15 2017
>            Reporter: Andrew Schwartzmeyer
>            Priority: Minor
>              Labels: clang, microsoft, windows
> Attempted to build with:
> cmake .. -TLLVM-vs2014 -G"Visual Studio 15 2017 Win64"
> (Note that you have to run C:\Program Files\LLVM\tools\msbuild\install.bat to get the
toolset available.)
> At the very least, Gmock and Boost do not build with Clang on Windows. This issue is
to record that this scenario is not supported due to dependencies not supporting it.

This message was sent by Atlassian JIRA

View raw message