projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a fixed version of r195470 back.
[oota-llvm.git]
/
docs
/
Projects.rst
diff --git
a/docs/Projects.rst
b/docs/Projects.rst
index e5280fa580e291f13445c1a367ed9c4802a46940..3246e3ff169b4496571ace6d9457fe8e1e64d824 100644
(file)
--- a/
docs/Projects.rst
+++ b/
docs/Projects.rst
@@
-1,5
+1,3
@@
-.. _projects:
-
========================
Creating an LLVM Project
========================
========================
Creating an LLVM Project
========================
@@
-85,10
+83,10
@@
Follow these simple steps to start your project:
with these commands. (You must be using ``Autoconf`` version 2.59 or later
and your ``aclocal`` version should be 1.9 or later.)
with these commands. (You must be using ``Autoconf`` version 2.59 or later
and your ``aclocal`` version should be 1.9 or later.)
-.. code-block:: bash
+
.. code-block:: bash
- % cd autoconf
- % ./AutoRegen.sh
+
% cd autoconf
+
% ./AutoRegen.sh
6. Run ``configure`` in the directory in which you want to place object code.
Use the following options to tell your project where it can find LLVM:
6. Run ``configure`` in the directory in which you want to place object code.
Use the following options to tell your project where it can find LLVM:
@@
-102,7
+100,7
@@
Follow these simple steps to start your project:
``--prefix=<directory>``
Tell your project where it should get installed.
``--prefix=<directory>``
Tell your project where it should get installed.
-That's it! Now all you have to do is type ``gmake`` (or ``make`` if you
r
on a
+That's it! Now all you have to do is type ``gmake`` (or ``make`` if you
're
on a
GNU/Linux system) in the root of your object directory, and your project should
build.
GNU/Linux system) in the root of your object directory, and your project should
build.
@@
-153,12
+151,10
@@
Underneath your top level directory, you should have the following directories:
Currently, the LLVM build system provides basic support for tests. The LLVM
system provides the following:
Currently, the LLVM build system provides basic support for tests. The LLVM
system provides the following:
-* LLVM
provides a ``tcl`` procedure that is used by ``Dejagnu`` to run tests.
-
It can be found in ``llvm/lib/llvm-dg.exp``
. This test procedure uses ``RUN``
+* LLVM
contains regression tests in ``llvm/test``. These tests are run by the
+
:doc:`Lit <CommandGuide/lit>` testing tool
. This test procedure uses ``RUN``
lines in the actual test case to determine how to run the test. See the
lines in the actual test case to determine how to run the test. See the
- `TestingGuide <TestingGuide.html>`_ for more details. You can easily write
- Makefile support similar to the Makefiles in ``llvm/test`` to use ``Dejagnu``
- to run your project's tests.
+ :doc:`TestingGuide` for more details.
* LLVM contains an optional package called ``llvm-test``, which provides
benchmarks and programs that are known to compile with the Clang front
* LLVM contains an optional package called ``llvm-test``, which provides
benchmarks and programs that are known to compile with the Clang front
@@
-280,9
+276,9
@@
Variables for Building Programs
For example, to link ``libsample.so``, you would have the following line in
your ``Makefile``:
For example, to link ``libsample.so``, you would have the following line in
your ``Makefile``:
-
.. code-block:: M
akefile
+
.. code-block:: m
akefile
- LIBS += -lsample
+
LIBS += -lsample
Note that ``LIBS`` must occur in the Makefile after the inclusion of
``Makefile.common``.
Note that ``LIBS`` must occur in the Makefile after the inclusion of
``Makefile.common``.