Skip to content

Commit ff7fc55

Browse files
PiotrFusikAlexeySotkin
authored andcommitted
Fix typos in README.
1 parent 3e753ba commit ff7fc55

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ Source code in this repo can be built in different manners:
1212

1313
### In-tree build
1414

15-
Before the build all dependencies must be downloaded and layed out as the
16-
following:
15+
Before the build all dependencies must be downloaded and laid out as follows:
1716

1817
```
1918
<workspace>
@@ -22,7 +21,7 @@ following:
2221
| `-- clang
2322
`-- projects
2423
|-- llvm-spirv
25-
`-- common-clang
24+
`-- opencl-clang
2625
```
2726

2827
This can be done using the following commands:
@@ -44,12 +43,12 @@ cmake -DLLVM_TARGETS_TO_BUILD="X86" ../llvm
4443
make opencl-clang -j`nproc`
4544
```
4645

47-
For sanity check of the built please run `make check-clang` and
46+
For sanity check of the build please run `make check-clang` and
4847
`make check-llvm-spirv`
4948

5049
### Out-of-tree build
5150

52-
To build Common clang as standalone project, you need to obtain pre-built LLVM
51+
To build Common clang as a standalone project, you need to obtain pre-built LLVM
5352
and SPIR-V Translator libraries. **Note:** currently this kind of build is
5453
supported on Linux only.
5554

@@ -70,7 +69,7 @@ make all -j`nproc`
7069
##### Preferred LLVM version
7170

7271
By default, Common clang's cmake script is searching for LLVM 10.0.0. You can
73-
override target version of LLVM by using `PREFERRED_LLVM_VERSION` cmake option:
72+
override target version of LLVM by using the `PREFERRED_LLVM_VERSION` cmake option:
7473

7574
Example:
7675
```
@@ -80,13 +79,13 @@ cmake -DPREFERRED_LLVM_VERSION="10.0.0" ../opencl-clang
8079
##### Custom LLVM installation
8180

8281
If LLVM is installed somewhere in custom (non-system directories) location, you
83-
could point to it using `LLVM_DIR` cmake option. **Note**: You need to specify a'
84-
path to a directory containing `LLVMConfig.cmake` file.
82+
could point to it using the `LLVM_DIR` cmake option. **Note**: You need to specify
83+
the path to a directory containing the `LLVMConfig.cmake` file.
8584

8685
This file is available in two different locations.
8786
* `<INSTALL_PREFIX>/lib/cmake/llvm/LLVMConfig.cmake` where `<INSTALL_PREFIX>`
88-
is the install prefix of an installed version of LLVM. On Linux typically this
89-
is `/usr/lib/cmake/llvm/LLVMConfig.cmake`.
87+
is the install prefix of an installed version of LLVM. On Linux this is typically
88+
`/usr/lib/cmake/llvm/LLVMConfig.cmake`.
9089
* `<LLVM_BUILD_ROOT>/lib/cmake/llvm/LLVMConfig.cmake` where `<LLVM_BUILD_ROOT>`
9190
is the root of the LLVM build tree.
9291
**Note: this is only available when building LLVM with CMake.**

0 commit comments

Comments
 (0)