diff options
author | L. E. Segovia <amy@centricular.com> | 2025-09-11 16:42:15 +0000 |
---|---|---|
committer | L. E. Segovia <amy@centricular.com> | 2025-09-11 22:34:26 +0000 |
commit | 525571eccbd541ab6a97793cfdfced14e6e572d8 (patch) | |
tree | 346f615a1bde9888b11cad47a2844c7db059da18 | |
parent | b7edbf7a24a3ef315b376c09bc9122ccc8c601c6 (diff) |
On CI, these files end up being cached into storage in the
`update_cache` calls. They are only usable for debugging purposes, so a
prospective user can either recover the original libraries from the
sources/target/release folder, or just by commenting this block.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1942>
-rw-r--r-- | recipes/gst-plugins-rs.recipe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/gst-plugins-rs.recipe b/recipes/gst-plugins-rs.recipe index 4e1f2baa..12ddbee1 100644 --- a/recipes/gst-plugins-rs.recipe +++ b/recipes/gst-plugins-rs.recipe @@ -381,6 +381,12 @@ class Recipe(recipe.Recipe): await shell.async_call( [dragonfire, '-o', self.workspace_lib, '-f', fmt, *files], cmd_dir=self.config.prefix, logfile=self.logfile, env=self.env ) + + # These end up cached, remove them + for f in files: + src = Path(self.config.prefix, f) + bak = src.with_suffix('.bak') + bak.unlink(missing_ok=True) # CAVEAT: on Apple platforms, compiler_builtins (and any other # crate mistakenly built with LTO enabled) will contain LLVM # bitcode, causing usages of eg. stock (pre Xcode 16) nm to emit |