Skip to content

[libc] Generate configure.rst from the JSON config information. #65791

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

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

sivachandra
Copy link
Collaborator

No description provided.

@sivachandra sivachandra requested a review from a team as a code owner September 8, 2023 18:50
@github-actions github-actions bot added the libc label Sep 8, 2023
endif()
if(${group_count} EQUAL 0)
message(FATAL_ERROR "${config_file}: Does not contain any config option groups")
return()
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't FATAL_ERROR from the line above stop cmake processing completely?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes. The idea is that if there are no config option groups, there should be no config.json added at all.

Copy link
Contributor

Choose a reason for hiding this comment

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

SGTM. Then the return() in this line is not needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed now.

@sivachandra sivachandra merged commit ca2a4e7 into llvm:main Sep 8, 2023
@sivachandra sivachandra deleted the todo_config_doc branch September 13, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants