diff options
author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-12-01 13:55:09 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-12-23 13:32:49 +0200 |
commit | 4761e4cad946b42daa8723672957e9c1eaeaa5be (patch) | |
tree | 328144b20f11726c407cd60e037c372cb279e32d /mesonbuild/compilers/mixins/ccrx.py | |
parent | 360d81e4aa3eb1230997a7a1c74130bca00fd896 (diff) | |
download | meson-4761e4cad946b42daa8723672957e9c1eaeaa5be.zip meson-4761e4cad946b42daa8723672957e9c1eaeaa5be.tar.gz meson-4761e4cad946b42daa8723672957e9c1eaeaa5be.tar.bz2 |
Remove `get_buildtype_args` function
This is a first step to make `buildtype` a true alias of `debug` and
`optimization` options.
See #10808.
Relates to:
- #11645
- #12096
- #5920
- #5814
- #8220
- #8493
- #9540
- #10487
- #12265
- #8308
- #8214
- #7194
- #11732
Diffstat (limited to 'mesonbuild/compilers/mixins/ccrx.py')
-rw-r--r-- | mesonbuild/compilers/mixins/ccrx.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mesonbuild/compilers/mixins/ccrx.py b/mesonbuild/compilers/mixins/ccrx.py index 45992bf..6327072 100644 --- a/mesonbuild/compilers/mixins/ccrx.py +++ b/mesonbuild/compilers/mixins/ccrx.py @@ -21,15 +21,6 @@ else: # do). This gives up DRYer type checking, with no runtime impact Compiler = object -ccrx_buildtype_args: T.Dict[str, T.List[str]] = { - 'plain': [], - 'debug': [], - 'debugoptimized': [], - 'release': [], - 'minsize': [], - 'custom': [], -} - ccrx_optimization_args: T.Dict[str, T.List[str]] = { '0': ['-optimize=0'], 'g': ['-optimize=0'], @@ -71,9 +62,6 @@ class CcrxCompiler(Compiler): # if users want to use it, they need to add the required arguments explicitly return [] - def get_buildtype_args(self, buildtype: str) -> T.List[str]: - return ccrx_buildtype_args[buildtype] - def get_pch_suffix(self) -> str: return 'pch' |