aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorWolfgang Stöggl <c72578@yahoo.de>2019-11-06 14:49:00 +0100
committerMichael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com>2019-11-06 09:55:30 -0500
commitf037e7ef4538b37625c0893d32cad36e72648c8a (patch)
tree90c594eac530b600ac64168e50f2f8a298ebff56 /mesonbuild/dependencies
parentf56ef583d3c8ecda7725ca04b48011c9081a7349 (diff)
downloadmeson-f037e7ef4538b37625c0893d32cad36e72648c8a.zip
meson-f037e7ef4538b37625c0893d32cad36e72648c8a.tar.gz
meson-f037e7ef4538b37625c0893d32cad36e72648c8a.tar.bz2
Fix typos found by codespell
- Typos were found by codespell v1.16.0
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/base.py4
-rw-r--r--mesonbuild/dependencies/dev.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
index 201b53f..032672d 100644
--- a/mesonbuild/dependencies/base.py
+++ b/mesonbuild/dependencies/base.py
@@ -197,7 +197,7 @@ class Dependency:
"""Create a new dependency that contains part of the parent dependency.
The following options can be inherited:
- links -- all link_with arguemnts
+ links -- all link_with arguments
includes -- all include_directory and -I/-isystem calls
sources -- any source, header, or generated sources
compile_args -- any compile args
@@ -450,7 +450,7 @@ class ConfigToolDependency(ExternalDependency):
return cls.__new__(cls)
def find_config(self, versions=None):
- """Helper method that searchs for config tool binaries in PATH and
+ """Helper method that searches for config tool binaries in PATH and
returns the one that best matches the given version requirements.
"""
if not isinstance(versions, list) and versions is not None:
diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py
index 6288739..894bfdc 100644
--- a/mesonbuild/dependencies/dev.py
+++ b/mesonbuild/dependencies/dev.py
@@ -33,7 +33,7 @@ from typing import List, Tuple
def get_shared_library_suffix(environment, for_machine: MachineChoice):
- """This is only gauranteed to work for languages that compile to machine
+ """This is only guaranteed to work for languages that compile to machine
code, not for languages like C# that use a bytecode and always end in .dll
"""
m = environment.machines[for_machine]
@@ -292,7 +292,7 @@ class LLVMDependencyConfigTool(ConfigToolDependency):
if not self.static and mode == 'static':
# If llvm is configured with LLVM_BUILD_LLVM_DYLIB but not with
# LLVM_LINK_LLVM_DYLIB and not LLVM_BUILD_SHARED_LIBS (which
- # upstreams doesn't recomend using), then llvm-config will lie to
+ # upstream doesn't recommend using), then llvm-config will lie to
# you about how to do shared-linking. It wants to link to a a bunch
# of individual shared libs (which don't exist because llvm wasn't
# built with LLVM_BUILD_SHARED_LIBS.
@@ -305,7 +305,7 @@ class LLVMDependencyConfigTool(ConfigToolDependency):
except DependencyException:
lib_ext = get_shared_library_suffix(environment, self.for_machine)
libdir = self.get_config_value(['--libdir'], 'link_args')[0]
- # Sort for reproducability
+ # Sort for reproducibility
matches = sorted(glob.iglob(os.path.join(libdir, 'libLLVM*{}'.format(lib_ext))))
if not matches:
if self.required: