forked from Mirrors/flatpak-builder
builder: Keep cache per arch
This just adds the arch name to the cache branch names, which means a build on a different arch will not invalidate the other arch:s build. Fixes https://github.com/flatpak/flatpak/issues/628tingping/wmclass
parent
e572311a26
commit
72e36b90a0
|
@ -516,7 +516,7 @@ main (int argc,
|
|||
return 0;
|
||||
}
|
||||
|
||||
cache_branch = g_path_get_basename (manifest_rel_path);
|
||||
cache_branch = g_strconcat (builder_context_get_arch (build_context), "-", manifest_basename, NULL);
|
||||
|
||||
cache = builder_cache_new (build_context, app_dir, cache_branch);
|
||||
if (!builder_cache_open (cache, &error))
|
||||
|
|
Loading…
Reference in New Issue