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

Remove git clean invocation from DRAM model generation #580

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

davidbiancolin
Copy link
Contributor

Issue #, if available: N/A, though you can find related discussion in firesim/aws-fpga-firesim#59

Description of changes:

Calling git clean to purge the DRAM model build directory is an easy and natural thing to do, but it makes it hard to relocate copies of aws-fpga to remote build instances in cases when aws-fpga may be a git submodule of a super project (since aws-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 existing git clean would 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.

@davidbiancolin
Copy link
Contributor Author

Hey, any word on this?

@kyyalama2
Copy link
Contributor

kyyalama2 commented Sep 20, 2022

Hi David,

We are reviewing this change internally and will also kick off some regressions today to make sure the change does not break anything and should be able to get back to you in the next few days. Thank you so much for the follow up

Thanks

@davidbiancolin
Copy link
Contributor Author

Just a friendly bump on this.

Copy link

@AWSjoeluc AWSjoeluc left a comment

Choose a reason for hiding this comment

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

Looks good, thanks David!

@kyyalama2
Copy link
Contributor

Hi David, the changes by themselves look good; but we see some timing failures in test_dcp_recipes and other seemingly unrelated failures in Jenkins with this PR. so re-running the jenkins without your changes with a different PR to confirm if its the jenkins setup vs the PR. should know this shortly in the next day. Thanks

@davidbiancolin
Copy link
Contributor Author

Wonderful, thanks!

@kyyalama2 kyyalama2 self-requested a review October 14, 2022 20:32
@davidbiancolin
Copy link
Contributor Author

Hey @kyyalama2, could this get into the next release (REL_2022_1) ?

@kyyalama2 kyyalama2 merged commit 2376fb7 into aws:master Nov 28, 2022
@davidbiancolin davidbiancolin deleted the upstream-remove-git-clean branch November 28, 2022 15:48
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.

4 participants