Skip to content

Commit 5ec6963

Browse files
kazutakahirataDharuniRAcharya
authored andcommitted
[llvm] Proofread HowToBuildOnARM.rst (llvm#163039)
1 parent 29bc371 commit 5ec6963

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

llvm/docs/HowToBuildOnARM.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ on the ARMv6 and ARMv7 architectures and may be inapplicable to older chips.
2323
choices when using CMake. Autoconf usage is deprecated as of 3.8.
2424

2525
Building LLVM/Clang in ``Release`` mode is preferred since it consumes
26-
a lot less memory. Otherwise, the building process will very likely
26+
a lot less memory. Otherwise, the build process will very likely
2727
fail due to insufficient memory. It's also a lot quicker to only build
2828
the relevant back-ends (ARM and AArch64), since it's very unlikely that
29-
you'll use an ARM board to cross-compile to other arches. If you're
29+
you'll use an ARM board to cross-compile to other architectures. If you're
3030
running Compiler-RT tests, also include the x86 back-end, or some tests
3131
will fail.
3232

@@ -48,15 +48,15 @@ on the ARMv6 and ARMv7 architectures and may be inapplicable to older chips.
4848
``make -jN check-all`` or ``ninja check-all`` will run all compiler tests. For
4949
running the test suite, please refer to :doc:`TestingGuide`.
5050

51-
#. If you are building LLVM/Clang on an ARM board with 1G of memory or less,
52-
please use ``gold`` rather then GNU ``ld``. In any case it is probably a good
51+
#. If you are building LLVM/Clang on an ARM board with 1 GB of memory or less,
52+
please use ``gold`` rather than GNU ``ld``. In any case, it is probably a good
5353
idea to set up a swap partition, too.
5454

5555
.. code-block:: bash
5656
5757
$ sudo ln -sf /usr/bin/ld /usr/bin/ld.gold
5858
59-
#. ARM development boards can be unstable and you may experience that cores
59+
#. ARM development boards can be unstable, and you may experience that cores
6060
are disappearing, caches being flushed on every big.LITTLE switch, and
6161
other similar issues. To help ease the effect of this, set the Linux
6262
scheduler to "performance" on **all** cores using this little script:
@@ -73,12 +73,12 @@ on the ARMv6 and ARMv7 architectures and may be inapplicable to older chips.
7373
problems.
7474

7575
#. Running the build on SD cards is ok, but they are more prone to failures
76-
than good quality USB sticks, and those are more prone to failures than
77-
external hard-drives (those are also a lot faster). So, at least, you
76+
than good-quality USB sticks, and those are more prone to failures than
77+
external hard drives (those are also a lot faster). So, at least, you
7878
should consider to buy a fast USB stick. On systems with a fast eMMC,
7979
that's a good option too.
8080

8181
#. Make sure you have a decent power supply (dozens of dollars worth) that can
82-
provide *at least* 4 amperes, this is especially important if you use USB
83-
devices with your board. Externally powered USB/SATA harddrives are even
82+
provide *at least* 4 amperes. This is especially important if you use USB
83+
devices with your board. Externally powered USB/SATA hard drives are even
8484
better than having a good power supply.

0 commit comments

Comments
 (0)