Skip to content

Commit b0f8445

Browse files
authored
fix typos (spack#50926)
1 parent b835792 commit b0f8445

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
2. **Improved `spack find` UI for Environments**
122122

123-
If you're working in an enviroment, you likely care about:
123+
If you're working in an environment, you likely care about:
124124

125125
* What are the roots
126126
* Which ones are installed / not installed
@@ -154,7 +154,7 @@
154154
Quoted can also now include special characters, so you can supply flags like:
155155
156156
```
157-
spack intall zlib ldflags='-Wl,-rpath=$ORIGIN/_libs'
157+
spack install zlib ldflags='-Wl,-rpath=$ORIGIN/_libs'
158158
```
159159
160160
To reduce ambiguity in parsing, we now require that you *not* put spaces around `=`
@@ -325,7 +325,7 @@
325325
* `spack logs`: print log files for packages (either partially built or installed) (#42202)
326326
* `patch`: support reversing patches (#43040)
327327
* `develop`: Add -b/--build-directory option to set build_directory package attribute (#39606)
328-
* `spack list`: add `--namesapce` / `--repo` option (#41948)
328+
* `spack list`: add `--namespace` / `--repo` option (#41948)
329329
* directives: add `checked_by` field to `license()`, add some license checks
330330
* `spack gc`: add options for environments and build dependencies (#41731)
331331
* Add `--create` to `spack env activate` (#40896)
@@ -1023,7 +1023,7 @@ Spack now supports Python 3.12 (#40155)
10231023

10241024
Spack's traditional [package preferences](
10251025
https://spack.readthedocs.io/en/latest/build_settings.html#package-preferences)
1026-
are soft, but we've added hard requriements to `packages.yaml` and `spack.yaml`
1026+
are soft, but we've added hard requirements to `packages.yaml` and `spack.yaml`
10271027
(#32528, #32369). Package requirements use the same syntax as specs:
10281028

10291029
```yaml
@@ -1118,7 +1118,7 @@ Spack now supports Python 3.12 (#40155)
11181118
- `package cflags=-g`:
11191119
`cflags` will NOT be propagated to dependencies
11201120

1121-
Syntax for non-boolan variants is similar to compiler flags. More in the docs for
1121+
Syntax for non-boolean variants is similar to compiler flags. More in the docs for
11221122
[variants](
11231123
https://spack.readthedocs.io/en/latest/basic_usage.html#variants) and [compiler flags](
11241124
https://spack.readthedocs.io/en/latest/basic_usage.html#compiler-flags).
@@ -1741,7 +1741,7 @@ Spack now supports Python 3.12 (#40155)
17411741
* `spack fetch` is now environment-aware. (#19166)
17421742
* Numerous fixes for the new, `clingo`-based concretizer. (#23016, #23307,
17431743
#23090, #22896, #22534, #20644, #20537, #21148)
1744-
* Supoprt for automatically bootstrapping `clingo` from source. (#20652, #20657
1744+
* Support for automatically bootstrapping `clingo` from source. (#20652, #20657
17451745
#21364, #21446, #21913, #22354, #22444, #22460, #22489, #22610, #22631)
17461746
* Python 3.10 support: `collections.abc` (#20441)
17471747
* Fix import issues by using `__import__` instead of Spack package importe.

bin/spack.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
function Compare-CommonArgs {
77
$CMDArgs = $args[0]
8-
# These aruments take precedence and call for no futher parsing of arguments
8+
# These arguments take precedence and call for no further parsing of arguments
99
# invoke actual Spack entrypoint with that context and exit after
1010
"--help", "-h", "--version", "-V" | ForEach-Object {
1111
$arg_opt = $_

etc/spack/defaults/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ config:
9696

9797

9898
# If this is false, tools like curl that use SSL will not verify
99-
# certifiates. (e.g., curl will use use the -k option)
99+
# certificates. (e.g., curl will use use the -k option)
100100
verify_ssl: true
101101

102102

@@ -164,7 +164,7 @@ config:
164164
# when the `-p` / `--concurrent-packages` flag is not given on the command line.
165165
# Defaults to 4 when not set.
166166
# Generally, big builds like LLVM are going to perform better with a higher -j, and
167-
# builds with lots of dependencies may build better wtih higher -p. It is currently
167+
# builds with lots of dependencies may build better with higher -p. It is currently
168168
# up to the user to balance between -j (build_jobs) and -p (concurrent_packages)
169169
# on `spack install`, but this will be less of an issue in the future when we
170170
# introduce support for the gmake job server and allow more dynamic parallelism.

lib/spack/docs/config_yaml.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ about the run that produced a given solver result.
363363
This cache is a subcache of the :ref:`Misc Cache` and as such will be cleaned when the Misc
364364
Cache is cleaned.
365365

366-
When ``false`` or ommitted, all concretization requests will be performed from scatch
366+
When ``false`` or omitted, all concretization requests will be performed from scatch
367367

368368
----------------------------
369369
``concretization_cache:url``

lib/spack/docs/contribution_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Runners require three key pieces:
455455

456456

457457
Minimum GitLab Runner Version: ``16.1.0``
458-
`Intallation instructions <https://docs.gitlab.com/runner/install/>`_
458+
`Installation instructions <https://docs.gitlab.com/runner/install/>`_
459459

460460
Registration Token
461461
~~~~~~~~~~~~~~~~~~

lib/spack/docs/packaging_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3919,7 +3919,7 @@ Additional build instructions are split into separate builder classes:
39193919
def configure_args(self):
39203920
return self.with_or_without("my-feature", variant="my_feature")
39213921
3922-
In this example, ``spack install example +feature build_sytem=cmake`` will
3922+
In this example, ``spack install example +feature build_system=cmake`` will
39233923
pick the ``CMakeBuilder`` and invoke ``cmake -DMY_FEATURE:BOOL=ON``.
39243924

39253925
Similarly, ``spack install example +feature build_system=autotools`` will pick

lib/spack/llnl/util/argparsewriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(self, prog: str, out: IO = sys.stdout, aliases: bool = False) -> No
6666
self.aliases = aliases
6767

6868
def parse(self, parser: ArgumentParser, prog: str) -> Command:
69-
"""Parse the parser object and return the relavent components.
69+
"""Parse the parser object and return the relevant components.
7070
7171
Args:
7272
parser: Command parser.

lib/spack/llnl/util/filesystem.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def rename(src, dst):
246246
# On Windows, os.rename will fail if the destination file already exists
247247
# os.replace is the same as os.rename on POSIX and is MoveFileExW w/
248248
# the MOVEFILE_REPLACE_EXISTING flag on Windows
249-
# Windows invocation is abstracted behind additonal logic handling
250-
# remaining cases of divergent behavior accross platforms
249+
# Windows invocation is abstracted behind additional logic handling
250+
# remaining cases of divergent behavior across platforms
251251
if sys.platform == "win32":
252252
_win_rename(src, dst)
253253
else:
@@ -475,7 +475,7 @@ def exploding_archive_catch(stage):
475475
# NOTE: The tar program on Mac OS X will encode HFS metadata in
476476
# hidden files, which can end up *alongside* a single top-level
477477
# directory. We initially ignore presence of hidden files to
478-
# accomodate these "semi-exploding" tarballs but ensure the files
478+
# accommodate these "semi-exploding" tarballs but ensure the files
479479
# are copied to the source directory.
480480

481481
# Expand all tarballs in their own directory to contain
@@ -486,7 +486,7 @@ def exploding_archive_catch(stage):
486486
os.chdir(tarball_container)
487487
try:
488488
yield
489-
# catch an exploding archive on sucessful extraction
489+
# catch an exploding archive on successful extraction
490490
os.chdir(orig_dir)
491491
exploding_archive_handler(tarball_container, stage)
492492
except Exception as e:
@@ -2453,7 +2453,7 @@ class WindowsSimulatedRPath:
24532453
One instance of this class is associated with a package (only on Windows)
24542454
For each lib/binary directory in an associated package, this class introduces
24552455
a symlink to any/all dependent libraries/binaries. This includes the packages
2456-
own bin/lib directories, meaning the libraries are linked to the bianry directory
2456+
own bin/lib directories, meaning the libraries are linked to the binary directory
24572457
and vis versa.
24582458
"""
24592459

@@ -2580,7 +2580,7 @@ def _link(self, path: pathlib.Path, dest_dir: pathlib.Path):
25802580
mode is not enabled"""
25812581

25822582
def report_already_linked():
2583-
# We have either already symlinked or we are encoutering a naming clash
2583+
# We have either already symlinked or we are encountering a naming clash
25842584
# either way, we don't want to overwrite existing libraries
25852585
already_linked = islink(str(dest_file))
25862586
tty.debug(

lib/spack/llnl/util/lang.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def __lt__(self):
339339
340340
Python would compare ``Widgets`` lexicographically based on their
341341
tuples. The issue there for simple comparators is that we have to
342-
bulid the tuples *and* we have to generate all the values in them up
342+
build the tuples *and* we have to generate all the values in them up
343343
front. When implementing comparisons for large data structures, this
344344
can be costly.
345345

0 commit comments

Comments
 (0)