Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeLists.txt to be more flexible #3354

Merged
merged 3 commits into from
Jun 13, 2019
Merged

Update CMakeLists.txt to be more flexible #3354

merged 3 commits into from
Jun 13, 2019

Conversation

marcelotrevisani
Copy link
Contributor

Update CMakeLists.txt to be more flexible to find the third parties libraries

Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

Update CMakeLists.txt to be more flexible to find the third parties libraries
@marcelotrevisani
Copy link
Contributor Author

@junrushao1994 could you please take a look on that?

@junrushao
Copy link
Member

Hey, this change is absolutely correct. Just to confirm, is this used for building conda-forge packages?

@marcelotrevisani
Copy link
Contributor Author

Hey @junrushao1994 , yes, it would be good to have it, otherwise, I will have to patch the CMakeLists.txt, usually, in conda-forge we try to avoid third paties packages which are shipped along with the project. As I mentioned before, I already packaged those dependencies which tvm needs.

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

LGTM

CMakeLists.txt Outdated
include_directories(${DLPACK_PATH})
include_directories(${DMLC_PATH})
include_directories(${RANG_PATH})
include_directories(${RT_PATH})
Copy link
Member

Choose a reason for hiding this comment

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

Let’s change it to COMPILER_RT_PATH

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I am going to change it

@junrushao
Copy link
Member

junrushao commented Jun 13, 2019

BTW, what’s the status of current tvm/conda directory (https://github.com/dmlc/tvm/tree/master/conda)? Isn’t that suppose to be working properly with conda-forge?

@marcelotrevisani
Copy link
Contributor Author

BTW, what’s the status of current tvm/conda directory (https://github.com/dmlc/tvm/tree/master/conda)? Isn’t that suppose to be working properly with conda-forge?

Not with conda-forge, but it might help, because conda-forge has their own structure to build the package, usually the users just have to write a recipe and our infrastructure should do the rest

@tqchen tqchen merged commit c3cc3bf into apache:master Jun 13, 2019
@tqchen
Copy link
Member

tqchen commented Jun 13, 2019

Thanks ,@marcelotrevisani @junrushao1994 this PR is now merged

@marcelotrevisani marcelotrevisani deleted the patch-1 branch June 14, 2019 09:13
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants