From 76d182f7c2a99e2a75d9d0a49117e10f91868d73 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Sun, 9 Dec 2012 15:29:56 +0000 Subject: [PATCH] Documentation: don't create TOCs manually. Thanks to Sean Silva for pointing out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169699 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/HowToReleaseLLVM.rst | 85 ++------------------------------------- 1 file changed, 4 insertions(+), 81 deletions(-) diff --git a/docs/HowToReleaseLLVM.rst b/docs/HowToReleaseLLVM.rst index e98f311489a..b75e2a8f821 100644 --- a/docs/HowToReleaseLLVM.rst +++ b/docs/HowToReleaseLLVM.rst @@ -4,6 +4,7 @@ How To Release LLVM To The Public .. contents:: :local: + :depth: 1 .. sectionauthor:: Tanya Lattner , Reid Spencer , @@ -52,52 +53,11 @@ The release process is roughly as follows: * Finally, release! -.. _process: - Release Process =============== -#. :ref:`Release Administrative Tasks ` - - #. :ref:`Create Release Branch ` - - #. :ref:`Update Version Numbers ` - -#. :ref:`Building the Release ` - - #. :ref:`Build the LLVM Source Distribution ` - - #. :ref:`Build LLVM ` - - #. :ref:`Build the Clang Binary Distribution ` - - #. :ref:`Target Specific Build Details ` - -#. :ref:`Release Qualification Criteria ` - - #. :ref:`Qualify LLVM ` - - #. :ref:`Qualify Clang ` - - #. :ref:`Specific Target Qualification Details ` - -#. :ref:`Community Testing ` - -#. :ref:`Release Patch Rules ` - -#. :ref:`Release final tasks ` - - #. :ref:`Update Documentation ` - - #. :ref:`Tag the LLVM Final Release ` - - #. :ref:`Update the LLVM Demo Page ` - - #. :ref:`Update the LLVM Website ` - - #. :ref:`Announce the Release ` - -.. _release-admin: +.. contents:: + :local: Release Administrative Tasks ---------------------------- @@ -111,8 +71,6 @@ release process to begin. Specifically, it involves: * Tagging release candidates for the release team to begin testing. -.. _branch: - Create Release Branch ^^^^^^^^^^^^^^^^^^^^^ @@ -162,8 +120,6 @@ Branch the Subversion trunk using the following procedure: $ svn co https://llvm.org/svn/llvm-project/test-suite/branches/release_XY test-suite-X.Y -.. _verchanges: - Update LLVM Version ^^^^^^^^^^^^^^^^^^^ @@ -175,8 +131,6 @@ Regenerate the configure scripts for both ``llvm`` and the ``test-suite``. In addition, the version numbers of all the Bugzilla components must be updated for the next release. -.. _dist: - Build the LLVM Release Candidates ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -206,7 +160,7 @@ following commands: Similarly, **Release Candidate 2** would be named ``RC2`` and so on. This keeps a permanent copy of the release candidate around for people to export and build as they wish. The final released sources will be tagged in the ``RELEASE_XY`` -directory as ``Final`` (c.f. :ref:`Tag the LLVM Final Release `). +directory as ``Final`` (c.f. :ref:`tag`). The Release Manager may supply pre-packaged source tarballs for users. This can be done with the following commands: @@ -223,8 +177,6 @@ be done with the following commands: $ tar -cvf - dragonegg-X.Yrc1 | gzip > dragonegg-X.Yrc1.src.tar.gz $ tar -cvf - llvm-test-X.Yrc1 | gzip > llvm-test-X.Yrc1.src.tar.gz -.. _release-build: - Building the Release -------------------- @@ -244,9 +196,6 @@ The ``make`` options for building the different modes: | Release | ``ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1`` | +-----------------+---------------------------------------------+ - -.. _build: - Build LLVM ^^^^^^^^^^ @@ -254,8 +203,6 @@ Build ``Debug``, ``Release+Asserts``, and ``Release`` versions of ``llvm`` on all supported platforms. Directions to build ``llvm`` are :ref:`here `. -.. _clangbin: - Build Clang Binary Distribution ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -270,8 +217,6 @@ requires performing the following steps for each supported platform: #. Package ``clang`` (details to follow). -.. _target-build: - Target Specific Build Details ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -296,8 +241,6 @@ when qualifying the build of ``llvm``, ``clang``, and ``dragonegg``. | x86-64 | FreeBSD | gcc 4.2.X | +--------------+---------------+----------------------+ -.. _release-qualify: - Release Qualification Criteria ------------------------------ @@ -315,8 +258,6 @@ use is described below. This doesn't mean that we don't care about other criteria, but these are the criteria which we found to be most important and which must be satisfied before a release can go out.** -.. _llvm-qualify: - Qualify LLVM ^^^^^^^^^^^^ @@ -324,8 +265,6 @@ LLVM is qualified when it has a clean test run without a front-end. And it has no regressions when using either ``clang`` or ``dragonegg`` with the ``test-suite`` from the previous release. -.. _clang-qualify: - Qualify Clang ^^^^^^^^^^^^^ @@ -333,8 +272,6 @@ Qualify Clang test suite all pass, clang's own test suite passes cleanly, and there are no regressions in the ``test-suite``. -.. _target: - Specific Target Qualification Details ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -364,8 +301,6 @@ Specific Target Qualification Details | | | | test-suite | +--------------+-------------+----------------+-----------------------------+ -.. _commTest: - Community Testing ----------------- @@ -396,8 +331,6 @@ the time to solve additional and unrelated bugs!* If no patches are merged in, the release is determined to be ready and the release manager may move onto the next stage. -.. _release-patch: - Release Patch Rules ------------------- @@ -415,8 +348,6 @@ Below are the rules regarding patching the release branch: #. During the remaining rounds of testing, only patches that fix critical regressions may be applied. -.. _release-final: - Release Final Tasks ------------------- @@ -424,8 +355,6 @@ The final stages of the release process involves tagging the "final" release branch, updating documentation that refers to the release, and updating the demo page. -.. _updocs: - Update Documentation ^^^^^^^^^^^^^^^^^^^^ @@ -457,16 +386,12 @@ Tag the final release sources using the following procedure: $ svn copy https://llvm.org/svn/llvm-project/test-suite/branches/release_XY \ https://llvm.org/svn/llvm-project/test-suite/tags/RELEASE_XY/Final -.. _updemo: - Update the LLVM Demo Page ------------------------- The LLVM demo page must be updated to use the new release. This consists of using the new ``clang`` binary and building LLVM. -.. _webupdates: - Update the LLVM Website ^^^^^^^^^^^^^^^^^^^^^^^ @@ -495,8 +420,6 @@ is what to do: new release and release announcement. Make sure this all gets committed back into Subversion. -.. _announce: - Announce the Release ^^^^^^^^^^^^^^^^^^^^