Skip to content

Investigate reducing size of /opt/llvm directory in crossdeps-builder #1447

@mthalman

Description

@mthalman

There are a ton of binaries that get installed into the /opt/llvm directory in the crossdeps-builder images, adding up to about 4 GB. This then gets passed on to the crossdeps-llvm image which copies the contents of that directory into its own image:

And then there are a bunch of cross images based on crossdeps-llvm. So you're left with a bunch of images that, when loaded, take up a lot of disk space. This is problematic for the SBOM generation of the build because it has to load each one of these images and scan them. This is very costly: #1435.

There should be an investigation to determine which of the files in the /opt/llvm directory are actually required and delete everything else.

/cc @sbomer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions