summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/simd.py
AgeCommit message (Collapse)Author
2025-11-19compilers: Remove Environment parameter from Compiler.has_multi_argumentsDylan Baker
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2023-10-28simd module: fix regression that broke using only some simd variantsEli Schwartz
Regression in commit a3d287c553b9598f010fe0755c5528ef62055e44. When a given kwarg is not specified, we want to not generate it as a simd variant. Since the default for buildtarget sources is `[]` it resulted in building a static library with no sources, and a warning stating that this was buggy and will eventually be removed. Fix this by teaching buildtarget sources to allow None, and defaulting to it specifically for the simd module. We can check this and then skip processing entirely. Fixes #12438
2023-10-09Clean up some of the code in simd.check()Tristan Partin
2023-10-09Finish typing the simd moduleTristan Partin
2023-10-09Port simd.check() to typed_pos_args/typed_kwargsTristan Partin
2023-02-01treewide: add future annotations importEli Schwartz
2022-08-17interpreter: move handling of module stability to interpreterDylan Baker
Thanks to `ModuleInfo`, all modules are just named `foo.py` instead of `unstable_foo.py`, which simplifies the import method a bit. This also allows for accurate FeatureNew/FeatureDeprecated use, as we know when the module was added and if/when it was stabilized.