Changes between Version 255 and Version 256 of SummerOfCode


Ignore:
Timestamp:
Mar 5, 2015, 9:03:48 PM (9 years ago)
Author:
RJVB (René Bertin)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummerOfCode

    v255 v256  
    175175
    176176Unfortunately, enabling trace mode adds a significant performance penalty to the build process. However, the trace mode code can certainly be optimized using appropriate cache data structures, such as a modified [http://en.wikipedia.org/wiki/Trie Trie]. Your task would be to identify the performance bottle necks, draft appropriate caching data structures and implement them.
     177
     178* Difficulty: Medium to Easy
     179* Programming languages: Tcl, C
     180* Potential mentors: cal
     181
     182
     183===== Auto-detection of build dependencies ===== #dependencies-gen
     184
     185When creating a new portfile one of the problems is always the specification of the complete (and preferably minimal) list of build dependencies, especially when one starts with a rather complete install where most dependencies are already available.
     186
     187It is possible to invert the trace mode logic so that it detects all files a configure and/or build process accesses, in ${prefix} but outside of the port's build directory. This information can then be used to generate a dependency tree and information from the registry can then be used to simplify that tree so that it only lists direct dependencies.
    177188
    178189* Difficulty: Medium to Easy