> On Dec. 6, 2019, 12:51 p.m., Benno Evers wrote:
> > support/mesos-tidy/entrypoint.sh
> > Line 38 (original), 38 (patched)
> > <https://reviews.apache.org/r/71852/diff/1/?file=2181662#file2181662line38>
> >
> >     From 
> >     
> >     https://cmake.org/cmake/help/v3.12/release/3.12.html#command-line
> >     
> >     it sounds like the `--parallel` option still wants a parameter to set 
> > the number of cores? If that is not required, maybe you could add a link to 
> > the cmake documentation in the commit message?

The release notes look incorrect to me. The documentation for this flag is 
here, 
https://cmake.org/cmake/help/latest/manual/cmake.1.html#index-0-envvar:CMAKE_BUILD_PARALLEL_LEVEL.
 While the documentation states when no explicit number is given the default 
parallelism level of the choosen build tool would be used, this still built 
fast for me (even though we build with `make` which by default does not 
parallelize). I added an explicit setting to make this less surprising ;)


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71852/#review218955
-----------------------------------------------------------


On Dec. 6, 2019, 5:23 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71852/
> -----------------------------------------------------------
> 
> (Updated Dec. 6, 2019, 5:23 p.m.)
> 
> 
> Review request for mesos and Benno Evers.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Since the `--parallel` flag for `cmake build` is only supported in more
> recent CMake versions we bump the installed version to the latest
> release.
> 
> 
> Diffs
> -----
> 
>   support/mesos-tidy/Dockerfile 7d17a82c023c614016e771c305e3a114731eb832 
>   support/mesos-tidy/entrypoint.sh 7d2225d8f75998ee13acf0bd57c9483dfc7acd98 
> 
> 
> Diff: https://reviews.apache.org/r/71852/diff/2/
> 
> 
> Testing
> -------
> 
> Built a local image and tested it with a modified `support/mesos-tidy.sh`.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>

Reply via email to