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

Support incremental builds #29

Open
harendra-kumar opened this issue Dec 13, 2020 · 0 comments
Open

Support incremental builds #29

harendra-kumar opened this issue Dec 13, 2020 · 0 comments

Comments

@harendra-kumar
Copy link
Member

packcheck creates a source distribution in .packcheck directory and builds from that. To reuse the previous build's artifacts we can do the following:

  • Create the dist-newstyle directory outside the source distribution we build from
  • Remove the source distribution on a rebuild, do not remove the dist-newstyle dir
  • When we untar the source distribution, restore the exact timestamps
  • Use dist-newstyle dir name based on a sha256 hash of the build parameters so that we can use different build dirs for different builds in the build matrix.
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

1 participant