Update README for Halide 12 release.#6034
Conversation
|
|
||
| ``` | ||
| % cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_DIR=$LLVM_ROOT/lib/cmake/llvm -S . -B build | ||
| % cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_DIR=$LLVM_ROOT/lib/cmake/llvm -S . -B build |
There was a problem hiding this comment.
Doesn't this also require acquiring ninja, would would need to be added to the instructions? I'm not sure it's a good default.
There was a problem hiding this comment.
@abadams - I made this change for two reasons, let me know what you think:
- We only use Ninja with CMake on the buildbots, so if there are issues with the Makefile backend, we won't notice them.
- The user experience with Ninja is much nicer (parallel by default, cleaner output, etc.)
Also, it's perfectly optional and one can avoid ninja by simply dropping -G Ninja. I wrote a note on that below.
There was a problem hiding this comment.
I think that people copy-paste build steps without reading or understanding them, and that this one isn't going to work without first telling them to acquire ninja. Maybe the text below could more explicitly say that if you get the error , try again without -G Ninja
|
LGTM except for a minor concern about making ninja the default. |
Fixes #5961
Fixes #5154
Fixes #4216
Fixes #5633 (by not mentioning it)