aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-07-09 00:47:46 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2023-07-10 17:21:11 +0300
commit4166bf1eb2874b78658f27606efb3d6b3d27d11a (patch)
tree82ec138ff7b2fd0e7781d46900f4c2347d888675 /mesonbuild
parentecbba0c45b05b53563b23b84191a0acccdfcc291 (diff)
downloadmeson-4166bf1eb2874b78658f27606efb3d6b3d27d11a.zip
meson-4166bf1eb2874b78658f27606efb3d6b3d27d11a.tar.gz
meson-4166bf1eb2874b78658f27606efb3d6b3d27d11a.tar.bz2
Revert "backends: Cache creation of install data"
This reverts commit 904b47085fdd985175b4b2c3224f65b9d33f04d7. This is not a real bottleneck, and we want to create it thrice -- once before the backend is generated. The final install data needs to be created fresh. Update unittest to demonstrate the issue. Fixes https://bugs.gentoo.org/910050
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/backend/backends.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 3b87623..f0e2b08 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -1605,7 +1605,6 @@ class Backend:
mlog.log(f'Running postconf script {name!r}')
run_exe(s, env)
- @lru_cache(maxsize=1)
def create_install_data(self) -> InstallData:
strip_bin = self.environment.lookup_binary_entry(MachineChoice.HOST, 'strip')
if strip_bin is None: