aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/unstable_simd.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-04-09 15:15:07 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-05-28 15:17:10 -0400
commit2e02ef6592fa6634eadbe388c2a5ee957ce20e59 (patch)
tree2083b14523bc246507a5d91dee7113e9ac66d5ee /mesonbuild/modules/unstable_simd.py
parenta734bcfc83a67788f71b5b84a46a4d9727b5ec09 (diff)
downloadmeson-2e02ef6592fa6634eadbe388c2a5ee957ce20e59.zip
meson-2e02ef6592fa6634eadbe388c2a5ee957ce20e59.tar.gz
meson-2e02ef6592fa6634eadbe388c2a5ee957ce20e59.tar.bz2
modules: Add methods dict everywhere
This fix calling random internal methods from meson.build as long as they were not prefixed by underscore.
Diffstat (limited to 'mesonbuild/modules/unstable_simd.py')
-rw-r--r--mesonbuild/modules/unstable_simd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/modules/unstable_simd.py b/mesonbuild/modules/unstable_simd.py
index 5f8edfd..df5faa1 100644
--- a/mesonbuild/modules/unstable_simd.py
+++ b/mesonbuild/modules/unstable_simd.py
@@ -35,6 +35,9 @@ class SimdModule(ExtensionModule):
'avx2',
'neon',
)
+ self.methods.update({
+ 'check': self.check,
+ })
def check(self, state, args, kwargs):
result = []