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

scripts for building libmxnet binary and wheel #13648

Merged
merged 3 commits into from
Dec 15, 2018

Conversation

szha
Copy link
Member

@szha szha commented Dec 14, 2018

Description

scripts for building libmxnet binary and wheel

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • Changes are complete (i.e. I finished coding on this PR)
  • To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

  • add script for making all dependencies
  • tools for building pip package
  • build scripts for lib and wheel

@szha szha added this to In progress in Automated Binary Distribution Pipelines via automation Dec 14, 2018
@roywei
Copy link
Member

roywei commented Dec 14, 2018

@mxnet-label-bot add[Build, pr-awaiting-review]

@marcoabreu marcoabreu added Build pr-awaiting-review PR is waiting for code review labels Dec 14, 2018
@lanking520 lanking520 self-requested a review December 14, 2018 19:13

cd mxnet-build

$MAKE DEPS_PATH=$DEPS_PATH DMLCCORE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please specify the $MAKE

Automated Binary Distribution Pipelines automation moved this from Needs review to Reviewer approved Dec 14, 2018
Copy link
Member

@lanking520 lanking520 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Me and @zachgk will follow up with a good README and instructions to use them.

@lanking520 lanking520 merged commit 3626fd1 into apache:master Dec 15, 2018
Automated Binary Distribution Pipelines automation moved this from Reviewer approved to Done Dec 15, 2018
mseth10 pushed a commit to mseth10/incubator-mxnet that referenced this pull request Dec 18, 2018
* add script for making all dependencies

* tools for building pip package

* build scripts for lib and wheel
lanking520 pushed a commit to lanking520/incubator-mxnet that referenced this pull request Jan 3, 2019
* add script for making all dependencies

* tools for building pip package

* build scripts for lib and wheel
lanking520 pushed a commit to lanking520/incubator-mxnet that referenced this pull request Apr 26, 2019
* add script for making all dependencies

* tools for building pip package

* build scripts for lib and wheel
lanking520 pushed a commit to lanking520/incubator-mxnet that referenced this pull request Apr 26, 2019
* add script for making all dependencies

* tools for building pip package

* build scripts for lib and wheel
lanking520 pushed a commit to lanking520/incubator-mxnet that referenced this pull request Apr 30, 2019
* add script for making all dependencies

* tools for building pip package

* build scripts for lib and wheel
zachgk pushed a commit to zachgk/incubator-mxnet that referenced this pull request May 16, 2019
* add script for making all dependencies

* tools for building pip package

* build scripts for lib and wheel
@byronyi
Copy link
Contributor

byronyi commented Jun 15, 2019

This makes no sense.

Why do you hard-code git clone to mxnet-build when you already have a source tree to start with?

What if I try to maintain a fork and doesn't want to do nested checkout to the upstream?

And how should I recruit more users, not to mention developers, if I cannot produce a wheel package from my own fork? Or do you expect your users to not fork and submit PRs at all, only waiting for installing the "official" wheel package from PyPI?

@szha szha deleted the bin_script branch June 15, 2019 03:03
@szha
Copy link
Member Author

szha commented Jun 15, 2019

@byronyi I imagine you can replace the clone command with a symlink to the parent folder. Or a copy.

@szha
Copy link
Member Author

szha commented Jun 15, 2019

@byronyi we also didn't expect creating a wheel to be a prerequisite of submitting a PR. If there's any specific issue we can help with, feel free to create an issue.

@byronyi
Copy link
Contributor

byronyi commented Jun 15, 2019

Symlink does the trick. I will take a closer look and see how to fix this.

And you’re right, building a wheel is not necessary before a PR. But it’s also makes little value for us to send out a PR without first trying it out, which usually requires a wheel package in our in-house environment. I thought it’s a common requirement for certain users, but I could be wrong.

It would be best if we could simply produce nightly packages in the same way you produce one and release it on PyPI. Currently I’m not sure how to do that.

@szha
Copy link
Member Author

szha commented Jun 15, 2019

@byronyi I agree that simplifying it would add value, and a fix is definitely more than welcome. This PR is a simple migration of code from a separate repo and hence the current structure.

@byronyi

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Build pr-awaiting-review PR is waiting for code review
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants