Repository: mesos Updated Branches: refs/heads/master 9128994aa -> 964a63bc4
Updated Windows build documentation for `ENABLE_LIBWINIO`. This is now the recommended way to build Mesos on Windows, instead of using libevent, as it is buggy (and the latest enabled tests will fail with libevent due to those bugs). Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/964a63bc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/964a63bc Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/964a63bc Branch: refs/heads/master Commit: 964a63bc46ad2c77719e9050bebd8aa5ac72180e Parents: 9128994 Author: Andrew Schwartzmeyer <[email protected]> Authored: Fri Jun 29 16:20:08 2018 -0700 Committer: Andrew Schwartzmeyer <[email protected]> Committed: Fri Jun 29 16:20:08 2018 -0700 ---------------------------------------------------------------------- docs/windows.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/964a63bc/docs/windows.md ---------------------------------------------------------------------- diff --git a/docs/windows.md b/docs/windows.md index 635c62c..86b9fe3 100644 --- a/docs/windows.md +++ b/docs/windows.md @@ -31,9 +31,9 @@ Mesos 1.0.0 introduced experimental support for Windows. 5. Make sure there are no spaces in your build directory. For example, `C:/Program Files (x86)/mesos` is an invalid build directory. -6. If developing Mesos, install [Python 2](https://www.python.org/downloads/) - (not Python 3), in order to use our support scripts (e.g. to post and apply - patches, or lint source code). +6. If developing Mesos, install [Python 3](https://www.python.org/downloads/) + (not Python 2), in order to use our `support/python3` scripts (e.g. + to post and apply patches, or lint source code). ### Build Instructions @@ -46,7 +46,7 @@ Following are the instructions for Windows 10. # Configure using CMake for an out-of-tree build. mkdir build cd build - cmake .. -G "Visual Studio 15 2017 Win64" -T "host=x64" -DENABLE_LIBEVENT=1 + cmake .. -G "Visual Studio 15 2017 Win64" -T "host=x64" -DENABLE_LIBWINIO=ON # Build Mesos. # To build just the Mesos agent, add `--target mesos-agent`. @@ -100,7 +100,7 @@ ensure `ninja.exe` is in your `PATH`. environment. * In that command prompt, type `powershell` to use a better shell. * Similar to above, configure CMake with - `cmake .. -G Ninja -DENABLE_LIBEVENT=1`. + `cmake .. -G Ninja -DENABLE_LIBWINIO=ON`. * Now you can use `ninja` to build the various targets. * You may want to use `ninja -v` to make it verbose, as it's otherwise very quiet. @@ -171,6 +171,11 @@ tested. Use `-DENABLE_SSL=ON` when running CMake to build with OpenSSL. +> Warning: This currently requires the use of `-DENABLE_LIBEVENT=ON` +> instead of `-DENABLE_LIBWINIO=ON`; however, the use of libevent on +> Windows is not recommended, as it is buggy and will be unsupported +> in the future. + Note that it will link to OpenSSL dynamically, so if the built executables are deployed elsewhere, that machine also needs OpenSSL installed.
