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

Clean up sequence driver, fix recompile problems #524

Closed
nddrylliog opened this issue Dec 26, 2012 · 2 comments
Closed

Clean up sequence driver, fix recompile problems #524

nddrylliog opened this issue Dec 26, 2012 · 2 comments
Assignees
Milestone

Comments

@nddrylliog
Copy link
Member

  1. The sequence driver should name SourceFolders on the basis of the .use file name if they've been added from .use files, instead of the directory path - because with the current ooc conventions, they're all added as 'source', and that sucks for partial recompialtion
  2. The sequence driver should be refactored to have a cleverer flow, and SourceFolder should handle itself checking/recompilation of libraries with or without libcaching (ie. stuffing things in .a static or dynamic libraries)
  3. The .cacheinfo file format should be upgraded and documented. It should store the SHA1 or MD5 hash of .ooc files in a SourceFolder
  4. When 'use'-ing a library, rock should compile all files in that library and cache them, just for sure - the subsequent compilations will not need to recompile that library at all, unless it has changed (different SHA1/MD5 files)
  5. Cases of "recompiling without cleaning but my code changes didn't appear in the new executable" should die.
@ghost ghost assigned nddrylliog Dec 26, 2012
@nddrylliog
Copy link
Member Author

Closed in branch 95x (used to be named branch issue524).

The short version: the driver/archive/sourcefolder/etc. code is now much cleaner, simpler and easier to understand.

libcaching has been thoroughly debugged and the single main issue remains #541, which has an easy bad fix and a slightly harder good fix. Otherwise, libcaching works fine on Linux, OSX, and Windows, and everything is generally much faster.

@nddrylliog
Copy link
Member Author

Closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant