Remove git clean invocation from DRAM model generation #580
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available: N/A, though you can find related discussion in firesim/aws-fpga-firesim#59
Description of changes:
Calling
git cleanto purge the DRAM model build directory is an easy and natural thing to do, but it makes it hard to relocate copies ofaws-fpgato remote build instances in cases whenaws-fpgamay be a git submodule of a super project (sinceaws-fpga's.git/will refer to the super project's.git/under modern versions). This is the case in our project (https://github.com/firesim/firesim).I was hoping that instead of doing some ourselves, if this could be changed here. I think all that's necessary is to remove
tmp/to cover cases where the build failed previously, but i added all the files the existinggit cleanwould remove for consistency. Let me know if this change would be welcome, and if so, how'd you like it to be modified / further tested.