summaryrefslogtreecommitdiffstats
path: root/llvm/docs/HowToBuildOnARM.rst
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2012-10-26 12:09:47 +0000
committerDavid Tweed <david.tweed@arm.com>2012-10-26 12:09:47 +0000
commitfd2cf7f9d9fa51540096ff5418cf652d0360cbbd (patch)
tree5785791ef512f1564865e95d176a7e95452e649a /llvm/docs/HowToBuildOnARM.rst
parent99843d3a2990f26ea6c90b66221745fde33bc4b7 (diff)
downloadbcm5719-llvm-fd2cf7f9d9fa51540096ff5418cf652d0360cbbd.tar.gz
bcm5719-llvm-fd2cf7f9d9fa51540096ff5418cf652d0360cbbd.zip
Minor enhancement to build process notes for ARM platforms.
llvm-svn: 166769
Diffstat (limited to 'llvm/docs/HowToBuildOnARM.rst')
-rw-r--r--llvm/docs/HowToBuildOnARM.rst17
1 files changed, 15 insertions, 2 deletions
diff --git a/llvm/docs/HowToBuildOnARM.rst b/llvm/docs/HowToBuildOnARM.rst
index 6f9ac4adc05..d786a7dedaf 100644
--- a/llvm/docs/HowToBuildOnARM.rst
+++ b/llvm/docs/HowToBuildOnARM.rst
@@ -27,8 +27,21 @@ on the ARMv6 and ARMv7 architectures and may be inapplicable to older chips.
#. If you want to run ``make
check-all`` after building LLVM/Clang, to avoid false alarms (eg, ARCMT
- failure) please use the following configuration:
+ failure) please use at least the following configuration:
.. code-block:: bash
- $ ../$LLVM_SRC_DIR/configure --with-abi=aapcs
+ $ ../$LLVM_SRC_DIR/configure --with-abi=aapcs-vfp
+
+#. The most popular linaro/ubuntu OS's for ARM boards, eg, the
+ Pandaboard, have become hard-float platforms. The following set
+ of configuration options appears to be a good choice for this
+ platform:
+
+ .. code-block:: bash
+
+ ./configure --build=armv7l-unknown-linux-gnueabihf
+ --host=armv7l-unknown-linux-gnueabihf
+ --target=armv7l-unknown-linux-gnueabihf --with-cpu=cortex-a9
+ --with-float=hard --with-abi=aapcs-vfp --with-fpu=neon
+ --enable-targets=arm --disable-optimized --enable-assertions
OpenPOWER on IntegriCloud