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

[ci,check-generated] Handle empty text in CMDGEN #24993

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

matutem
Copy link
Contributor

@matutem matutem commented Nov 2, 2024

Change ci/scripts/check-generated.sh to run both top and cmdgen when checking for the topgen generated artifacts. This is to support template md files having no text between the BEGIN and END markers so they can handle multi-top.

Add a separate "cmdgen" target in the hw/Makefile and describe that in the README.md for contributing to documentation.

Fixes #24991

@matutem
Copy link
Contributor Author

matutem commented Nov 3, 2024

This recent push adds a "top_and_cmdgen" target the Makefile to avoid passing multiple targets to a single make invocation.

Change ci/scripts/check-generated.sh to run both top and cmdgen
when checking for the topgen generated artifacts. This is to
support template md files having no text between the BEGIN and
END markers so they can handle multi-top.

Add a separate "cmdgen" target in the hw/Makefile and describe
that in the README.md for contributing to documentation.

Fixes lowRISC#24991

Signed-off-by: Guillermo Maturana <[email protected]>
Copy link
Contributor

@andreaskurth andreaskurth left a comment

Choose a reason for hiding this comment

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

LGTM, thx @matutem!

@HU90m HU90m merged commit b4c9944 into lowRISC:master Nov 4, 2024
41 checks passed
@matutem matutem deleted the cmdgen_flow branch November 5, 2024 00:13
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.

[doc,cmdgen] Remove need for text bracketed by CMDGEN BEGIN END
4 participants