Chandler Carruth
d1eafe118d
There are already problems with building LLVM under VS2005, and it's
...
quite old now. Update the documentation to reflect this, and direct
people to use VS2008 or newer.
llvm-svn: 144818
2011-11-16 19:52:13 +00:00
NAKAMURA Takumi
b8004d9b4c
docs/*.html: Appease W3C Checker to add "charset=utf-8".
...
llvm-svn: 143348
2011-10-31 11:21:59 +00:00
Dan Gohman
4c9fca99c9
Remove the Alpha backend.
...
llvm-svn: 143164
2011-10-27 22:56:32 +00:00
NAKAMURA Takumi
bccadaf1a3
CMake: Introduce LLVM_CLANG_SOURCE_DIR, "tools/clang" by default. Clang will not be built if LLVM_CLANG_SOURCE_DIR="" or ${LLVM_CLANG_SOURCE_DIR}/CMakeLists.txt is not found.
...
llvm-svn: 142103
2011-10-16 02:54:33 +00:00
NAKAMURA Takumi
9423f99d68
docs/CMake.html: Clarify LLVM_LIT_TOOLS_DIR as :PATH.
...
llvm-svn: 141872
2011-10-13 17:36:02 +00:00
Chandler Carruth
ceb4e6408a
Update the CMake documentation to the correct variables.
...
Patch by arrowdodger!
llvm-svn: 139106
2011-09-04 23:24:13 +00:00
Oscar Fuentes
3cbc9bece8
Update instructions: LLVM.cmake is now LLVMConfig.cmake
...
llvm-svn: 130631
2011-05-01 02:12:20 +00:00
NAKAMURA Takumi
aa3d6242cf
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
FIXME: Care H5 better.
llvm-svn: 130040
2011-04-23 00:30:22 +00:00
NAKAMURA Takumi
fc8d930f6e
docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.
...
H1 ... doc_title
H2 ... doc_section
H3 ... doc_subsection
H4 ... doc_subsubsection
llvm-svn: 129736
2011-04-18 23:59:50 +00:00
Oscar Fuentes
23fe31cc8d
Document how to build a LLVM pass with CMake out of source.
...
Patch by arrowdodger!
llvm-svn: 129381
2011-04-12 19:40:35 +00:00
Oscar Fuentes
dbe99ba37d
CMake: support for using LLVM from client projects with find_package.
...
Patch by arrowdodger!
llvm-svn: 129247
2011-04-10 16:17:49 +00:00
NAKAMURA Takumi
6bd36d56e4
docs/*.html: Make W3C HTML 4.01 Strict more compliant.
...
FIXME: The logo handling in ReleaseNotes.html
llvm-svn: 129208
2011-04-09 09:51:57 +00:00
NAKAMURA Takumi
ca46f5a3b5
docs: Canonicalize URLs.
...
llvm-svn: 129181
2011-04-09 02:13:37 +00:00
Oscar Fuentes
318c3f1717
Support for parallel compilation (/MP) when using the VS IDE.
...
Patch by Erik Olofsson!
llvm-svn: 126847
2011-03-02 17:47:37 +00:00
NAKAMURA Takumi
f214f50739
Add testing stuff to CMake documents.
...
- Note "GnuWin32".
- Note LLVM_LIT_TOOLS_DIR
- Now we can run tests on VS w/e all tests might pass or not!
llvm-svn: 125177
2011-02-09 04:19:28 +00:00
Oscar Fuentes
6495595382
Handles libffi on the CMake build.
...
Patch by arrowdodger!
llvm-svn: 123976
2011-01-21 15:42:54 +00:00
Oscar Fuentes
7064035998
New cmake option LLVM_APPEND_VC_REV for controlling when the VC
...
revision id is appended to the LLVM version string. Defaults to
OFF.
Until now the VC revision id was always appended to the revision
string whenever cmake was invoked (either explicitly or implicitly
because a cmake source file changed). This was causing massive
recompilations because config.h are reconfigured with the new contents
of PACKAGE_VERSION.
llvm-svn: 122240
2010-12-20 09:47:13 +00:00
Oscar Fuentes
e1c6a67df6
Bump required cmake version on CMake.html.
...
llvm-svn: 120162
2010-11-25 21:41:48 +00:00
NAKAMURA Takumi
f791007e81
CMake: Add the new option "LLVM_LIT_ARGS".
...
Defaults:
if (MSVC OR XCODE): "-sv --no-progress-bar"
else: "-sv"
llvm-svn: 118776
2010-11-11 04:09:35 +00:00
Oscar Fuentes
b1f9380cac
Document LLVM_BUILD_TESTS, LLVM_INCLUDE_TESTS. New convenience target
...
UnitTests for building all the unit tests.
llvm-svn: 117545
2010-10-28 14:38:35 +00:00
Oscar Fuentes
bf03084532
New cmake options LLVM_INCLUDE_X (X = {TOOLS, EXAMPLES, TESTS}) for
...
not generating build targets for those parts of the build.
llvm-svn: 114797
2010-09-25 20:43:06 +00:00
Oscar Fuentes
43c6321340
CMake: document how to incorporate LLVM into the cmake project of an
...
external project.
llvm-svn: 110561
2010-08-09 03:26:48 +00:00
Oscar Fuentes
c9793795f7
CMake: documented testing procedure
...
llvm-svn: 110559
2010-08-09 02:49:39 +00:00
mike-m
f375e9a092
Revert r103213. It broke several sections of live website.
...
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m
e08af303a6
Overhauled llvm/clang docs builds. Closes PR6613.
...
NOTE: 2nd part changeset for cfe trunk to follow.
*** PRE-PATCH ISSUES ADDRESSED
- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
assumptions and make use of absolute root in static html files;
namely CommandGuide tools hard codes a website destination
for cross references and some html cross references assume
website root paths
*** IMPROVEMENTS
- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
if any target (or any variable is evaluated) which attempts
to remove any dirs which match a hard-coded 'safelist', a verbose
error will be printed and make will error-stop.
llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Oscar Fuentes
5c600b5435
Add two CMake flags LLVM_ENABLE_PEDANTIC and LLVM_ENABLE_WERROR,
...
PEDANTIC defaults to ON and WERROR default to off.
Also add MSVC warnings. To disable warnings add the flags
LLVM_ENABLE_WARNINGS (default on).
Patch by Tobias Grosser!
llvm-svn: 90188
2009-12-01 02:21:51 +00:00
Oscar Fuentes
0c2443a28d
CMake: generate targets for tools and examples even when
...
LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF.
llvm-svn: 89635
2009-11-23 00:21:43 +00:00
Daniel Dunbar
43bff37afb
Update doc re: LLVM_BUILD_EXAMPLES.
...
llvm-svn: 89607
2009-11-22 18:27:51 +00:00
Oscar Fuentes
45f99d6621
Two corrections for docs/CMake.html.
...
Patch by Victor Zverovich!
llvm-svn: 84759
2009-10-21 13:22:20 +00:00
Oscar Fuentes
b9a781373c
CMake: New user-settable variable LLVM_TARGET_ARCH useful when
...
cross-compiling.
Patch by Xerxes Rånby!
llvm-svn: 81722
2009-09-13 22:18:38 +00:00
Oscar Fuentes
6d61f558ac
CMake: LLVM_ENABLE_PIC now defaults to ON, as in `configure'. This is
...
required on some platforms for building shared libraries that link to
the LLVM libraries.
llvm-svn: 79339
2009-08-18 15:29:35 +00:00
Oscar Fuentes
a127f4e010
CMake: Removed traces of obsolete variable LLVM_PLO_FLAGS.
...
llvm-svn: 79204
2009-08-16 21:01:16 +00:00
Oscar Fuentes
acfd9ad43d
CMake: New option LLVM_BUILD_TOOLS. Renamed LLVM_EXAMPLES to
...
LLVM_BUILD_EXAMPLES and set default to true. Documented.
llvm-svn: 79203
2009-08-16 20:56:30 +00:00
Benjamin Kramer
eaccdd34a3
Documentation: fix HTML validation errors.
...
llvm-svn: 78196
2009-08-05 15:42:44 +00:00
Daniel Dunbar
d476720341
cmake builds don't need this hack for MSVC anymore.
...
llvm-svn: 76329
2009-07-18 20:10:04 +00:00
Reid Kleckner
fc8a2d5a83
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
...
Also a test commit.
llvm-svn: 76276
2009-07-18 00:42:18 +00:00
Oscar Fuentes
46fed3b475
CMake: New variable LLVM_LIBDIR_SUFFIX.
...
Patch by Ingmar Vanhassel!
llvm-svn: 73216
2009-06-12 02:49:53 +00:00
Oscar Fuentes
4a899c7e33
CMake: Documented how to cross-compile with CMake.
...
llvm-svn: 73181
2009-06-11 04:45:08 +00:00
Oscar Fuentes
208a87314b
CMake: Renamed LLVM_ENABLE_ASSERTS to
...
LLVM_ENABLE_ASSERTIONS. Fine-tuned the logic that controls the
definition of NDEBUG and _DEBUG macros.
Thanks to Jay Foad for this suggestions.
llvm-svn: 72864
2009-06-04 09:26:16 +00:00
Oscar Fuentes
6133813eb4
CMake: Implements and documents option LLVM_ENABLE_ASSERTS.
...
llvm-svn: 72774
2009-06-03 15:11:25 +00:00
Oscar Fuentes
2cc3ce0002
CMake: Added some VC++ specific info to CMake.html.
...
llvm-svn: 61521
2008-12-31 14:36:41 +00:00
Misha Brukman
86242e1990
Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
...
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Oscar Fuentes
669db413ff
CMake: Documented two cmake variables.
...
llvm-svn: 60008
2008-11-25 04:23:36 +00:00
Oscar Fuentes
50ff154ea5
CMake: More documentation.
...
llvm-svn: 59755
2008-11-20 23:35:09 +00:00
Oscar Fuentes
8395ac96c4
CMake: Some documentation. Work in progress.
...
llvm-svn: 59752
2008-11-20 22:05:48 +00:00