The following is based on this prompt to Claude:
Design a solution to build artifacts from several Git repos that all use the same compiler flags. We do not want to use a central makefile for this. The repos are all built using a specific Docker image that includes all the build tools. How should we store and cache the artifacts, and retrieve the relevant versions?
I'll design a solution that focuses on consistency, reusability, and efficient artifact management. Here's a comprehensive approach:
- Compiler Flags Management:
# compiler-config.yaml (stored in a separate config repo)
compiler: