-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Set Ninja build generator in config.cmake instead of commmand line #17639
Conversation
Thanks a lot for enhancing cmake build and instruction. This is almost a dream come true for MXNet developers :) |
``` | ||
|
||
You can increase the `--parallel 8` argument to match the number of processor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can leave this as an option in the doc. Some users may not want to use all the processors for compiling.
``` | ||
|
||
You can increase the `--parallel 8` argument to match the number of processor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can leave this as an option in the doc. Some users may not want to use all the processors for compiling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice work. I have a few small comments. The rest looks amazing to me.
777dc6d
to
4810c23
Compare
4810c23
to
84b886c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for simplifying the cmake build process.
@leezu I retriggered CI tests. |
- Set Ninja build generator in config.cmake instead of commmand line - Load config.cmake by default if present
Changes
Comments
Thanks to @apeforest for the suggestion.
Also remove
--parallel 8
argument from doc, as with ninja the number of cores is autodetected.