diff options
| author | Kelvin Li <kkwli0@gmail.com> | 2020-01-03 22:03:42 -0500 |
|---|---|---|
| committer | Kelvin Li <kkwli0@gmail.com> | 2020-01-03 22:03:42 -0500 |
| commit | ed5fe64581f4f076c00d5e57caff1ff746d57c79 (patch) | |
| tree | 3d9d49322be077db38ba3b36d8573fbc7faafb59 /openmp/runtime/tools/lib | |
| parent | 0f1e7993e9bd8c9d80d8adddfc59aeae10d9fad3 (diff) | |
| download | bcm5719-llvm-ed5fe64581f4f076c00d5e57caff1ff746d57c79.tar.gz bcm5719-llvm-ed5fe64581f4f076c00d5e57caff1ff746d57c79.zip | |
[OpenMP] NFC: Fix trivial typos in comments
Submitted by: kiszk
Differential Revision: https://reviews.llvm.org/D72171
Diffstat (limited to 'openmp/runtime/tools/lib')
| -rw-r--r-- | openmp/runtime/tools/lib/Platform.pm | 2 | ||||
| -rw-r--r-- | openmp/runtime/tools/lib/Uname.pm | 2 | ||||
| -rw-r--r-- | openmp/runtime/tools/lib/tools.pm | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/openmp/runtime/tools/lib/Platform.pm b/openmp/runtime/tools/lib/Platform.pm index 0ff7597e5b9..0a3a0cfd1ad 100644 --- a/openmp/runtime/tools/lib/Platform.pm +++ b/openmp/runtime/tools/lib/Platform.pm @@ -413,7 +413,7 @@ the script assumes host architecture is target one. =item B<canon_arch( $arch )> Input string is an architecture name to canonize. The function recognizes many variants, for example: -C<32e>, C<Intel64>, C<Intel(R) 64>, etc. Returned string is a canononized architecture name, +C<32e>, C<Intel64>, C<Intel(R) 64>, etc. Returned string is a canonized architecture name, one of: C<32>, C<32e>, C<64>, C<arm>, C<ppc64le>, C<ppc64>, C<mic>, C<mips>, C<mips64>, C<riscv64> or C<undef> is input string is not recognized. =item B<legal_arch( $arch )> diff --git a/openmp/runtime/tools/lib/Uname.pm b/openmp/runtime/tools/lib/Uname.pm index a14cb3a6531..6b76a22997e 100644 --- a/openmp/runtime/tools/lib/Uname.pm +++ b/openmp/runtime/tools/lib/Uname.pm @@ -356,7 +356,7 @@ if ( 0 ) { $output =~ m{^ProductVersion:\s*(.*)\s*$}m or runtime_error( "There is no ProductVersion in sw_vers output:", $output, "(eof)" ); my $release = $1; - # Sometimes release reported as "10.4.11" (3 componentes), sometimes as "10.6". + # Sometimes release reported as "10.4.11" (3 components), sometimes as "10.6". # Handle both variants. $release =~ m{^(\d+.\d+)(?:\.\d+)?(?=\s|$)} or runtime_error( "Cannot parse OS X* version: $release" ); diff --git a/openmp/runtime/tools/lib/tools.pm b/openmp/runtime/tools/lib/tools.pm index cbed6363e2a..9415037cba7 100644 --- a/openmp/runtime/tools/lib/tools.pm +++ b/openmp/runtime/tools/lib/tools.pm @@ -256,7 +256,7 @@ sub get_options { "v|verbose" => sub { ++ $verbose; $ENV{ "tools.pm_verbose" } = $verbose; }, "quiet" => sub { -- $verbose; $ENV{ "tools.pm_verbose" } = $verbose; }, "with-timestamps" => sub { $timestamps = 1; $ENV{ "tools.pm_timestamps" } = $timestamps; }, - @_, # Caller argumetsa are at the end so caller options overrides standard. + @_, # Caller arguments are at the end so caller options overrides standard. ) or cmdline_error(); }; # sub get_options @@ -708,7 +708,7 @@ Look for the first occurrence of "icc" in the specified directories: my $icc = which( "icc", -dirs => [ ".", "/usr/local/bin", "/usr/bin", "/bin" ] ); -Look for the the C<omp_lib.f> file: +Look for the C<omp_lib.f> file: my @omp_lib = which( "omp_lib.f", -all => 1, -exec => 0, -dirs => [ @include ] ); |

