Skip to content

Commit

Permalink
backends: cache file names for ExtractedObjects
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Jan 10, 2025
1 parent dc708c2 commit 5978d05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesonbuild/backend/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ def object_filename_from_source(self, target: build.BuildTarget, source: 'FileOr
return os.path.join(targetdir, ret)
return ret

@lru_cache(maxsize=None)
def _determine_ext_objs(self, extobj: 'build.ExtractedObjects') -> T.List[str]:
result: T.List[str] = []

Expand Down

0 comments on commit 5978d05

Please sign in to comment.