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

Vppreproc: MMD feature #1672

Open
piecea opened this issue Apr 28, 2022 · 1 comment
Open

Vppreproc: MMD feature #1672

piecea opened this issue Apr 28, 2022 · 1 comment

Comments

@piecea
Copy link

piecea commented Apr 28, 2022

Could the -MMD option (like that of gcc, but also of verilator) have a place in vppreproc? Note –MMD generates a dependency output file for all the user files. We are interested in this feature for automating our compile flow.

If vppreproc wants to focus only on preprocessing, maybe a -dump-includes option is more suitable?

Using only the verilog api, we have prototyped an implementation of the -MMD option and can share the code. but, we think it would be useful to be provide this option natively in vppreproc.

@wsnyder
Copy link
Member

wsnyder commented Apr 28, 2022

I'd probably accept this if you want to make a pull request.

I would note you might alternatively use "verilator -MMD -E" which should already support this.

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

No branches or pull requests

2 participants