[libcxx-commits] [PATCH] D119255: [runtimes] Remove support for standalone builds
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 8 08:45:22 PST 2022
Quuxplusone added inline comments.
================
Comment at: libcxxabi/www/index.html:76
- <p>To check out the code (including llvm and others), use:</p>
-
- <ul>
- <li><code>git clone https://github.com/llvm/llvm-project.git</code></li>
- </ul>
-
- <p>To build:</p>
- <ul>
- <li><code>cd llvm-project</code></li>
- <li><code>mkdir build && cd build</code></li>
- <li><code>cmake -DLLVM_ENABLE_PROJECTS=libcxxabi ../llvm # on linux you may need to specify -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li>
- <li><code>make</code></li>
- </ul>
-
- <p>To do a standalone build:</p>
- <ul>
- <li>
- Check out the source tree. This includes the other subprojects, but you'll only use the libcxxabi part.
- </li>
- <li><code>cd llvm-project</code></li>
- <li><code>mkdir build-libcxxabi && cd build-libcxxabi</code></li>
- <li><code>cmake ../libcxxabi # on linux you may need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li>
- <li><code>make</code></li>
- </ul>
- <p> By default CMake uses <code>llvm-config</code> to locate the required
- LLVM sources. If CMake cannot find <code>llvm-config</code> then you must
- configure CMake using either of the following options.
- </p>
- <ul>
- <li><code>-DLLVM_CONFIG_PATH=path/to/llvm-config</code></li>
- <li><code>-DLLVM_PATH=path/to/llvm-source-root</code></li>
- </ul>
-
- </p>
-
- <p>To run the tests:</p>
- <ul>
- <li><code>make check-cxxabi</code></li>
- </ul>
- <p>Note: in a standalone build, the system's libc++ will be used for tests. If
- the system's libc++ was statically linked against libc++abi (or linked against
- a different ABI library), this may interfere with test results.</p>
-
- <p>Send discussions to the
- (<a href="https://lists.llvm.org/mailman/listinfo/libcxx-dev">libcxx-dev mailing list</a>).</p>
+ <p>Please see the <a href="https://libcxx.llvm.org">libc++ documentation</a>.</p>
----------------
This sentence is missing the "why". Is the intent something like "If you'd like to get involved with the project, and/or learn how to build libc++ from source, please see the libc++ documentation"? And if so, are there specific "getting started" and/or "getting involved" sections of the libc++ documentation to which you should link, specifically?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119255/new/
https://reviews.llvm.org/D119255
More information about the libcxx-commits
mailing list