diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-17 21:09:48 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 13:32:38 +0530 |
commit | 998892ed2962fdabcb3ef882375501fd849d56f8 (patch) | |
tree | 8756aa0d62fe0531d232e684d37764cd3164c37d /mesonbuild/modules/unstable_simd.py | |
parent | 4256c0dae2e4793a486ef38eec4361639dbb2957 (diff) | |
download | meson-998892ed2962fdabcb3ef882375501fd849d56f8.zip meson-998892ed2962fdabcb3ef882375501fd849d56f8.tar.gz meson-998892ed2962fdabcb3ef882375501fd849d56f8.tar.bz2 |
Updated all modules to work with the new API.
Diffstat (limited to 'mesonbuild/modules/unstable_simd.py')
-rw-r--r-- | mesonbuild/modules/unstable_simd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/modules/unstable_simd.py b/mesonbuild/modules/unstable_simd.py index b774cff..c41e96c 100644 --- a/mesonbuild/modules/unstable_simd.py +++ b/mesonbuild/modules/unstable_simd.py @@ -18,8 +18,8 @@ from . import ExtensionModule class SimdModule(ExtensionModule): - def __init__(self): - super().__init__() + def __init__(self, interpreter): + super().__init__(interpreter) self.snippets.add('check') # FIXME add Altivec and AVX512. self.isets = ('mmx', @@ -79,5 +79,5 @@ class SimdModule(ExtensionModule): result.append(interpreter.func_static_lib(None, [libname], lib_kwargs)) return [result, cdata] -def initialize(): - return SimdModule() +def initialize(*args, **kwargs): + return SimdModule(*args, **kwargs) |