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

Enable C++17 for cmake modules #13869

Merged

Conversation

echuraev
Copy link
Contributor

Moved the lines which add c++17 to CXX_FLAGS before the include of modules. After this c++17 features should be also supported in source code of the modules.

Moved the lines which add c++17 to CXX_FLAGS before the include of
modules. After this c++17 features should be also supported in source
code of the modules.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Jan 30, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to auto-tag found, no teams are specified in PR title See #10317 for details

Generated by tvm-bot

@echuraev
Copy link
Contributor Author

echuraev commented Jan 30, 2023

Build in PR #13868 is failed because c++17 features are not available in OpenCL module. I want to try to enable c++17 support in all modules. For now, this is a draft PR, because I need to check that nothing has been broken with these changes.

@echuraev echuraev marked this pull request as ready for review January 30, 2023 14:04
@echuraev
Copy link
Contributor Author

cc: @kparzysz-quic, @masahi, @junrushao

@kparzysz-quic kparzysz-quic merged commit 76c5186 into apache:main Jan 30, 2023
@echuraev echuraev deleted the echuraev/enable_cpp17_for_modules branch January 30, 2023 15:09
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
Moved the lines which add c++17 to CXX_FLAGS before the include of
modules. After this c++17 features should be also supported in source
code of the modules.
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