forked from OSchip/llvm-project
Remove some autoconf references from docs and comments
The autoconf build system support has been removed a while ago, remove some outdated references. Differential Revision: https://reviews.llvm.org/D63608 llvm-svn: 365013
This commit is contained in:
parent
71600be3f3
commit
1bc2cccf18
|
@ -662,10 +662,10 @@ cross-compiling.
|
||||||
Embedding LLVM in your project
|
Embedding LLVM in your project
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
From LLVM 3.5 onwards both the CMake and autoconf/Makefile build systems export
|
From LLVM 3.5 onwards the CMake build system exports LLVM libraries as
|
||||||
LLVM libraries as importable CMake targets. This means that clients of LLVM can
|
importable CMake targets. This means that clients of LLVM can now reliably use
|
||||||
now reliably use CMake to develop their own LLVM-based projects against an
|
CMake to develop their own LLVM-based projects against an installed version of
|
||||||
installed version of LLVM regardless of how it was built.
|
LLVM regardless of how it was built.
|
||||||
|
|
||||||
Here is a simple example of a CMakeLists.txt file that imports the LLVM libraries
|
Here is a simple example of a CMakeLists.txt file that imports the LLVM libraries
|
||||||
and uses them to build a simple application ``simple-tool``.
|
and uses them to build a simple application ``simple-tool``.
|
||||||
|
|
|
@ -45,12 +45,6 @@ systems. Most of the code is written in standard C++ with operating system
|
||||||
services abstracted to a support library. The tools required to build and
|
services abstracted to a support library. The tools required to build and
|
||||||
test LLVM have been ported to a plethora of platforms.
|
test LLVM have been ported to a plethora of platforms.
|
||||||
|
|
||||||
Some porting problems may exist in the following areas:
|
|
||||||
|
|
||||||
* The autoconf/makefile build system relies heavily on UNIX shell tools,
|
|
||||||
like the Bourne Shell and sed. Porting to systems without these tools
|
|
||||||
(MacOS 9, Plan 9) will require more effort.
|
|
||||||
|
|
||||||
What API do I use to store a value to one of the virtual registers in LLVM IR's SSA representation?
|
What API do I use to store a value to one of the virtual registers in LLVM IR's SSA representation?
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -109,9 +109,8 @@ Update LLVM Version
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
After creating the LLVM release branch, update the release branches'
|
After creating the LLVM release branch, update the release branches'
|
||||||
``autoconf`` and ``configure.ac`` versions from '``X.Ysvn``' to '``X.Y``'.
|
``CMakeLists.txt`` versions from '``X.Ysvn``' to '``X.Y``'.
|
||||||
Update it on mainline as well to be the next version ('``X.Y+1svn``').
|
Update it on mainline as well to be the next version ('``X.Y+1svn``').
|
||||||
Regenerate the configure scripts for both ``llvm`` and the ``test-suite``.
|
|
||||||
|
|
||||||
In addition, the version numbers of all the Bugzilla components must be updated
|
In addition, the version numbers of all the Bugzilla components must be updated
|
||||||
for the next release.
|
for the next release.
|
||||||
|
|
|
@ -3387,8 +3387,8 @@ compatible LLVM libraries built without it defined. By default,
|
||||||
turning on assertions also turns on `LLVM_ENABLE_ABI_BREAKING_CHECKS`
|
turning on assertions also turns on `LLVM_ENABLE_ABI_BREAKING_CHECKS`
|
||||||
so a default +Asserts build is not ABI compatible with a
|
so a default +Asserts build is not ABI compatible with a
|
||||||
default -Asserts build. Clients that want ABI compatibility
|
default -Asserts build. Clients that want ABI compatibility
|
||||||
between +Asserts and -Asserts builds should use the CMake or autoconf
|
between +Asserts and -Asserts builds should use the CMake build system
|
||||||
build systems to set `LLVM_ENABLE_ABI_BREAKING_CHECKS` independently
|
to set `LLVM_ENABLE_ABI_BREAKING_CHECKS` independently
|
||||||
of `LLVM_ENABLE_ASSERTIONS`.
|
of `LLVM_ENABLE_ASSERTIONS`.
|
||||||
|
|
||||||
.. _coreclasses:
|
.. _coreclasses:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/Support/Errno.h"
|
#include "llvm/Support/Errno.h"
|
||||||
#include "llvm/Config/config.h" // Get autoconf configuration settings
|
#include "llvm/Config/config.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "llvm/Support/PrettyStackTrace.h"
|
#include "llvm/Support/PrettyStackTrace.h"
|
||||||
#include "llvm-c/ErrorHandling.h"
|
#include "llvm-c/ErrorHandling.h"
|
||||||
#include "llvm/ADT/SmallString.h"
|
#include "llvm/ADT/SmallString.h"
|
||||||
#include "llvm/Config/config.h" // Get autoconf configuration settings
|
#include "llvm/Config/config.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
#include "llvm/Support/Signals.h"
|
#include "llvm/Support/Signals.h"
|
||||||
#include "llvm/Support/Watchdog.h"
|
#include "llvm/Support/Watchdog.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
//=== is guaranteed to work on all UNIX variants.
|
//=== is guaranteed to work on all UNIX variants.
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/Config/config.h" // Get autoconf configuration settings
|
#include "llvm/Config/config.h"
|
||||||
#include "llvm/Support/Chrono.h"
|
#include "llvm/Support/Chrono.h"
|
||||||
#include "llvm/Support/Errno.h"
|
#include "llvm/Support/Errno.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
Loading…
Reference in New Issue