summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CMake.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: Update allowed values for LLVM_USE_SANITIZERJustin Bogner2015-06-221-2/+2
| | | | | | | "Thread" and combinations of "Address" and "Undefined" have been accepted for a while now. llvm-svn: 240316
* [ADT][CMake][AutoConf] Fail-fast iterators for DenseMapSanjoy Das2015-03-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | | Summary: This patch is an attempt at making `DenseMapIterator`s "fail-fast". Fail-fast iterators that have been invalidated due to insertion into the host `DenseMap` deterministically trip an assert (in debug mode) on access, instead of non-deterministically hitting memory corruption issues. Enabling fail-fast iterators breaks the LLVM C++ ABI, so they are predicated on `LLVM_ENABLE_ABI_BREAKING_CHECKS`. `LLVM_ENABLE_ABI_BREAKING_CHECKS` by default flips with `LLVM_ENABLE_ASSERTS`, but can be clamped to ON or OFF using the CMake / autoconf build system. Reviewers: chandlerc, dexonsmith, rnk, zturner Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8351 llvm-svn: 233310
* Help: Document how to build and install with CMake.Tom Stellard2015-02-131-0/+30
| | | | | | | | Resolves PR21569. Patch by: Stephen Kelly llvm-svn: 229122
* Help: Document the minimum CMake version required.Tom Stellard2015-02-131-1/+1
| | | | | | Patch by: Stephen Kelly llvm-svn: 229121
* Fix typo in cmake example docsRenato Golin2015-02-101-1/+1
| | | | | | Patch by Vinicius Tinti. llvm-svn: 228690
* [DOC] Asserts are only enabled in Debug build, update the doc accordinglyMehdi Amini2015-02-101-5/+5
| | | | | | | | | | | | | Summary: The CMake configuration is explicitely looking for Debug build, all the other variant disable assertions. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7359 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 228653
* Fix grammar-o.Nico Weber2014-12-031-1/+1
| | | | llvm-svn: 223265
* Use ninja pools to limit the number of concurrent compile/link jobs.Evgeniy Stepanov2014-11-191-0/+6
| | | | | | | | This change makes use of the new "job pool" capability in cmake 3.0 with ninja generator to allow limiting the number of concurrent jobs of a certain type. llvm-svn: 222341
* Introduce -DLLVM_USE_SANITIZER=Undefined CMake option to build UBSan-ified ↵Alexey Samsonov2014-08-291-2/+2
| | | | | | | | | version of LLVM/Clang. I've fixed most of the simple bugs and currently "check-llvm" test suite has 26 failures, and "check-clang" suite has 5 failures. llvm-svn: 216701
* Add SPHINX_WARNINGS_AS_ERRORS CMake option to allow warnings to not beDan Liew2014-08-141-0/+4
| | | | | | | treated as errors (which is still the default). This is useful when working on documentation that has existing errors. llvm-svn: 215634
* Document the new LLVM CMake interface for building against LLVMDan Liew2014-07-281-45/+106
| | | | | | libraries. With many contributions from Brad King. llvm-svn: 214077
* Added LLVM_ENABLE_RTTI and LLVM_ENABLE_EH options that allow RTTI and EHDan Liew2014-07-221-0/+8
| | | | | | | | to globally be controlled. Individual targets (e.g. ExceptionDemo) can still override this by using LLVM_REQUIRE_RTTI and LLVM_REQUIRE_EH if they need to be compiled with RTTI or exception handling respectively. llvm-svn: 213663
* Fix 'platform-specific' hyphenationsAlp Toker2014-06-301-1/+1
| | | | llvm-svn: 212056
* fixed a few typosSanjay Patel2014-05-281-3/+3
| | | | llvm-svn: 209768
* Update docs still mentioning LLVM_ENABLE_CXX11Alp Toker2014-05-031-2/+2
| | | | | | C++11 is now required. llvm-svn: 207914
* Document recently added sphinx documentation options inDan Liew2014-04-291-0/+27
| | | | | | CMake. llvm-svn: 207543
* Fix example for VS2012.Paul Robinson2014-04-181-1/+1
| | | | llvm-svn: 206544
* [docs] Fix some Sphinx warnings that have crept in.Sean Silva2014-04-071-3/+4
| | | | llvm-svn: 205742
* [docs] Teach CMake docs build how to generate Qt Creator help/documentation ↵Michael Gottesman2014-03-071-0/+44
| | | | | | | | | | files. Patch by Konrad Kleine. Differential Revision: http://llvm-reviews.chandlerc.com/D2967 llvm-svn: 203272
* [Typo] Fix sentence in CMake documentation.Ahmed Charles2014-03-071-1/+1
| | | | llvm-svn: 203206
* CMake : optionaly enable LLVM to be compiled with -std=c++11 (default: off)Arnaud A. de Grandmaison2013-11-261-0/+3
| | | | | | | | | | In some case, it may be required to build LLVM in C++11 mode, as some the subprojects (like lldb) requires it. This mimics the autoconf behaviour. However, given the discussions on the switch to C++11 of the codebase, this behaviour should evolve to default to C++11 with some checks of the compiler capabilities. llvm-svn: 195727
* Revert my CMake patches concerning building with /MT (r194589, r194596)Hans Wennborg2013-11-131-5/+0
| | | | | | Reid pointed out we already have LLVM_USE_CRT_{buildtype} to set it. llvm-svn: 194604
* CMake: make building with /MT an option instead of always forcing itHans Wennborg2013-11-131-0/+5
| | | | | | | | | | | | | for release builds. This is a follow-up to r194589. Aaron pointed out that building libraries with /MT and using them in an application that uses a different run-time library can be a bad idea. Move the option to build with /MT behind a CMake option so it can be turned on selectively, such as when building the toolchain installer. llvm-svn: 194596
* docs: Update old VS 2008 references.Ahmed Bougacha2013-07-231-4/+3
| | | | llvm-svn: 186968
* Document LLVM_USE_SANITIZER CMake optionAlexey Samsonov2013-07-091-0/+5
| | | | llvm-svn: 185925
* Add basic zlib support to LLVM. This would allow to use ↵Alexey Samsonov2013-04-231-0/+4
| | | | | | compression/uncompression in selected LLVM tools. llvm-svn: 180083
* Enable all targets by default on Visual Studio.Tim Northover2013-04-151-2/+2
| | | | llvm-svn: 179518
* Correct spelling of Git.Thomas Schwinge2013-03-281-1/+1
| | | | llvm-svn: 178254
* docs: Fix long standing linking antipattern.Sean Silva2013-01-111-2/+0
| | | | | | | | | Before we learned about :doc:, we used :ref: and put a dummy link at the top of each page. Don't do that anymore. This fixes PR14891 as a special case. llvm-svn: 172162
* Documentation: convert WritingAnLLVMPass.html to reST.Dmitri Gribenko2012-12-121-0/+2
| | | | | | Patch by Anthony Mykhailenko with small fixes by me. llvm-svn: 169992
* Documentation: use a 'console' highlighter for terminal output examples. ThisDmitri Gribenko2012-12-121-9/+9
| | | | | | gives a nicer output than 'bash'. llvm-svn: 169981
* Removing dependency on third party library for Intel JIT event support.Andrew Kaylor2012-09-281-5/+0
| | | | | | Patch committed on behalf of Kirill Uhanov llvm-svn: 164831
* Fixup broken doc link. Patch by Sean Silva <silvas@purdue.edu>.Chad Rosier2012-07-111-1/+1
| | | | llvm-svn: 160082
* Sphinxify the CMake document.Bill Wendling2012-07-061-0/+423
llvm-svn: 159806
OpenPOWER on IntegriCloud