summaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorspaette <spaette@users.noreply.github.com>2024-09-11 13:05:04 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-09-11 15:51:04 -0700
commit4179996fefd272cc0c893b88ad17c010fa037768 (patch)
treea5f7f8ff03bb5b6d39556331d4c2e163f7718c14 /mesonbuild/environment.py
parent3aedec5b34c586b9c3a16be17d2fda353bf5fff1 (diff)
downloadmeson-4179996fefd272cc0c893b88ad17c010fa037768.tar.gz
Fix typos
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 5cff86bb1..90c9bb911 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -329,7 +329,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
"""
Python is inconsistent in its platform module.
It returns different values for the same cpu.
- For x86 it might return 'x86', 'i686' or somesuch.
+ For x86 it might return 'x86', 'i686' or some such.
Do some canonicalization.
"""
if mesonlib.is_windows():
@@ -466,7 +466,7 @@ def detect_kernel(system: str) -> T.Optional[str]:
raise MesonException('Failed to run "/usr/bin/uname -o"')
out = out.lower().strip()
if out not in {'illumos', 'solaris'}:
- mlog.warning(f'Got an unexpected value for kernel on a SunOS derived platform, expcted either "illumos" or "solaris", but got "{out}".'
+ mlog.warning(f'Got an unexpected value for kernel on a SunOS derived platform, expected either "illumos" or "solaris", but got "{out}".'
"Please open a Meson issue with the OS you're running and the value detected for your kernel.")
return None
return out