Open
Description
Overall goal:
-
Replace chronos build (https://github.com/google/oss-fuzz/tree/dd978a43f8b4c57a95258de921b3e0331c8cb77e/infra/experimental/chronos) with what's described here: Add ccache to base-builder. oss-fuzz#12675 (comment)
-
Have OSS-Fuzz-Gen use this.
Breakdown of steps:
- Support using cached image in OSS-Fuzz build steps: infra: enable building projects using cached images oss-fuzz#12597
- Make ccache work with jcc. The best solution here might be for jcc to just call out to the fake clang/clang++ symlinks that really point to ccache (if this doesn't already work).
- Replace existing chronos mechanisms (https://github.com/google/oss-fuzz/blob/dd978a43f8b4c57a95258de921b3e0331c8cb77e/infra/experimental/chronos/chronos.sh) with ccache based mechanism.
- Get rid of
recompile
, and just use/overwritecompile
in cached images. At this point, we just need to injectPATH=/ccache/bin:$PATH
to make use of ccache - Complete infra: add script to capture replayable commands oss-fuzz#12608 and integrate this into chronos
- Implement algo described in Add ccache to base-builder. oss-fuzz#12675 (comment)
Activity