Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Set Ninja build generator in config.cmake instead of commmand line #17639

Merged
merged 2 commits into from
Feb 22, 2020

Conversation

leezu
Copy link
Contributor

@leezu leezu commented Feb 20, 2020

Changes

  • Set Ninja build generator in config.cmake instead of commmand line

Comments

Thanks to @apeforest for the suggestion.

Also remove --parallel 8 argument from doc, as with ninja the number of cores is autodetected.

@apeforest
Copy link
Contributor

Thanks a lot for enhancing cmake build and instruction. This is almost a dream come true for MXNet developers :)

@leezu leezu requested a review from apeforest February 21, 2020 08:19
```

You can increase the `--parallel 8` argument to match the number of processor
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor

@apeforest apeforest left a 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.

Copy link
Contributor

@apeforest apeforest left a 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.

@apeforest
Copy link
Contributor

@leezu I retriggered CI tests.

@leezu leezu merged commit d2be9a6 into apache:master Feb 22, 2020
@leezu leezu deleted the cmakedefaultninja branch February 22, 2020 07:46
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request May 29, 2020
- Set Ninja build generator in config.cmake instead of commmand line
- Load config.cmake by default if present
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants