diff options
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/docs/BuildingLibcxx.rst | 47 | ||||
-rw-r--r-- | libcxx/docs/index.rst | 3 | ||||
-rw-r--r-- | libcxx/www/TS_deprecation.html | 3 | ||||
-rw-r--r-- | libcxx/www/atomic_design.html | 3 | ||||
-rw-r--r-- | libcxx/www/atomic_design_a.html | 3 | ||||
-rw-r--r-- | libcxx/www/atomic_design_b.html | 3 | ||||
-rw-r--r-- | libcxx/www/atomic_design_c.html | 3 | ||||
-rw-r--r-- | libcxx/www/cxx1y_status.html | 3 | ||||
-rw-r--r-- | libcxx/www/cxx1z_status.html | 3 | ||||
-rw-r--r-- | libcxx/www/cxx2a_status.html | 3 | ||||
-rw-r--r-- | libcxx/www/index.html | 3 | ||||
-rw-r--r-- | libcxx/www/ts1z_status.html | 3 | ||||
-rw-r--r-- | libcxx/www/type_traits_design.html | 3 | ||||
-rw-r--r-- | libcxx/www/upcoming_meeting.html | 3 |
14 files changed, 24 insertions, 62 deletions
diff --git a/libcxx/docs/BuildingLibcxx.rst b/libcxx/docs/BuildingLibcxx.rst index a498c0027bd..01f442de3ba 100644 --- a/libcxx/docs/BuildingLibcxx.rst +++ b/libcxx/docs/BuildingLibcxx.rst @@ -18,33 +18,10 @@ Xcode 4.2 or later. However if you want to install tip-of-trunk from here The basic steps needed to build libc++ are: -#. Checkout LLVM: - - * ``cd where-you-want-llvm-to-live`` - * ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm`` - -#. Checkout libc++: - - * ``cd where-you-want-llvm-to-live`` - * ``cd llvm/projects`` - * ``svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx`` - -#. Checkout libc++abi: - - * ``cd where-you-want-llvm-to-live`` - * ``cd llvm/projects`` - * ``svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi`` - -#. Configure and build libc++ with libc++abi: - - CMake is the only supported configuration system. - - Clang is the preferred compiler when building and using libc++. - - * ``cd where you want to build llvm`` - * ``mkdir build`` - * ``cd build`` - * ``cmake -G <generator> [options] <path to llvm sources>`` +#. Checkout and configure LLVM (including libc++ and libc++abi), according to the `LLVM + getting started <https://llvm.org/docs/GettingStarted.html>`_ documentation. Make sure + to include ``libcxx`` and ``libcxxabi`` in the ``LLVM_ENABLE_PROJECTS`` option passed + to CMake. For more information about configuring libc++ see :ref:`CMake Options`. @@ -71,23 +48,21 @@ The instructions are for building libc++ on FreeBSD, Linux, or Mac using `libc++abi`_ as the C++ ABI library. On Linux, it is also possible to use :ref:`libsupc++ <libsupcxx>` or libcxxrt. -It is sometimes beneficial to build outside of the LLVM tree. An out-of-tree -build would look like this: +It is sometimes beneficial to build separately from the full LLVM build. An +out-of-tree build would look like this: .. code-block:: bash $ cd where-you-want-libcxx-to-live - $ # Check out llvm, libc++ and libc++abi. - $ ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm`` - $ ``svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx`` - $ ``svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi`` + $ # Check out the sources (includes everything, but we'll only use libcxx) + $ ``git clone https://github.com/llvm/llvm-project.git`` $ cd where-you-want-to-build $ mkdir build && cd build $ export CC=clang CXX=clang++ - $ cmake -DLLVM_PATH=path/to/llvm \ + $ cmake -DLLVM_PATH=path/to/separate/llvm \ -DLIBCXX_CXX_ABI=libcxxabi \ - -DLIBCXX_CXX_ABI_INCLUDE_PATHS=path/to/libcxxabi/include \ - path/to/libcxx + -DLIBCXX_CXX_ABI_INCLUDE_PATHS=path/to/separate/libcxxabi/include \ + path/to/llvm-project/libcxx $ make $ make check-libcxx # optional diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst index fddf74b66a9..80c2a8ddd8e 100644 --- a/libcxx/docs/index.rst +++ b/libcxx/docs/index.rst @@ -190,5 +190,4 @@ Quick Links * `LLVM Bugzilla <https://bugs.llvm.org/>`_ * `libcxx-commits Mailing List`_ * `libcxx-dev Mailing List`_ -* `Browse libc++ -- SVN <http://llvm.org/svn/llvm-project/libcxx/trunk/>`_ -* `Browse libc++ -- ViewVC <http://llvm.org/viewvc/llvm-project/libcxx/trunk/>`_ +* `Browse libc++ Sources <https://github.com/llvm/llvm-project/tree/master/libcxx/>`_ diff --git a/libcxx/www/TS_deprecation.html b/libcxx/www/TS_deprecation.html index a8dd8c183b9..f3c002fe4ae 100644 --- a/libcxx/www/TS_deprecation.html +++ b/libcxx/www/TS_deprecation.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/atomic_design.html b/libcxx/www/atomic_design.html index 1c6627aadfb..30fb6feeb0d 100644 --- a/libcxx/www/atomic_design.html +++ b/libcxx/www/atomic_design.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/atomic_design_a.html b/libcxx/www/atomic_design_a.html index 589ca83c15e..d3e687f0de8 100644 --- a/libcxx/www/atomic_design_a.html +++ b/libcxx/www/atomic_design_a.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/atomic_design_b.html b/libcxx/www/atomic_design_b.html index 7f81f8b7ccf..e07eb86984b 100644 --- a/libcxx/www/atomic_design_b.html +++ b/libcxx/www/atomic_design_b.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/atomic_design_c.html b/libcxx/www/atomic_design_c.html index 82cc80f7f75..936ee6588e2 100644 --- a/libcxx/www/atomic_design_c.html +++ b/libcxx/www/atomic_design_c.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/cxx1y_status.html b/libcxx/www/cxx1y_status.html index 0af6352e9d6..7c62dc5ec54 100644 --- a/libcxx/www/cxx1y_status.html +++ b/libcxx/www/cxx1y_status.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/cxx1z_status.html b/libcxx/www/cxx1z_status.html index c2c6f7b0290..823c37b587c 100644 --- a/libcxx/www/cxx1z_status.html +++ b/libcxx/www/cxx1z_status.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/cxx2a_status.html b/libcxx/www/cxx2a_status.html index a5e87ec184b..36bc659c912 100644 --- a/libcxx/www/cxx2a_status.html +++ b/libcxx/www/cxx2a_status.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/index.html b/libcxx/www/index.html index 3724b8b4362..c707bc18b3a 100644 --- a/libcxx/www/index.html +++ b/libcxx/www/index.html @@ -26,8 +26,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/libcxx-dev">libcxx-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/libcxx-commits">libcxx-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/ts1z_status.html b/libcxx/www/ts1z_status.html index 22ad0d450c1..1c2e3a2447c 100644 --- a/libcxx/www/ts1z_status.html +++ b/libcxx/www/ts1z_status.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/type_traits_design.html b/libcxx/www/type_traits_design.html index 1cab2936d5b..3b3355f2f09 100644 --- a/libcxx/www/type_traits_design.html +++ b/libcxx/www/type_traits_design.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> diff --git a/libcxx/www/upcoming_meeting.html b/libcxx/www/upcoming_meeting.html index f99ff14dde6..801a92b22ca 100644 --- a/libcxx/www/upcoming_meeting.html +++ b/libcxx/www/upcoming_meeting.html @@ -25,8 +25,7 @@ <a href="https://lists.llvm.org/mailman/listinfo/cfe-dev">cfe-dev</a> <a href="https://lists.llvm.org/mailman/listinfo/cfe-commits">cfe-commits</a> <a href="https://bugs.llvm.org/">Bug Reports</a> - <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">Browse SVN</a> - <a href="https://llvm.org/viewvc/llvm-project/libcxx/trunk/">Browse ViewVC</a> + <a href="https://github.com/llvm/llvm-project/tree/master/libcxx/">Browse Sources</a> </div> </div> |