[libcxx-commits] [libcxx] 5fbce8b - [libcxx] [doc] Update Windows build instructions after deprecating the legacy standalone builds
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 30 14:11:36 PDT 2022
Author: Martin Storsjö
Date: 2022-03-31T00:10:28+03:00
New Revision: 5fbce8b7ac9a4f13b1f6ef288d97da31a49b40e9
URL: https://github.com/llvm/llvm-project/commit/5fbce8b7ac9a4f13b1f6ef288d97da31a49b40e9
DIFF: https://github.com/llvm/llvm-project/commit/5fbce8b7ac9a4f13b1f6ef288d97da31a49b40e9.diff
LOG: [libcxx] [doc] Update Windows build instructions after deprecating the legacy standalone builds
Differential Revision: https://reviews.llvm.org/D122715
Added:
Modified:
libcxx/docs/BuildingLibcxx.rst
Removed:
################################################################################
diff --git a/libcxx/docs/BuildingLibcxx.rst b/libcxx/docs/BuildingLibcxx.rst
index 17e90f9bea2cf..da2219c28470f 100644
--- a/libcxx/docs/BuildingLibcxx.rst
+++ b/libcxx/docs/BuildingLibcxx.rst
@@ -95,10 +95,11 @@ it is the simplest way to build.
.. code-block:: batch
- > cmake -G "Visual Studio 16 2019" -S libcxx -B build ^
- -T "ClangCL" ^
- -DLIBCXX_ENABLE_SHARED=YES ^
- -DLIBCXX_ENABLE_STATIC=NO ^
+ > cmake -G "Visual Studio 16 2019" -S runtimes -B build ^
+ -T "ClangCL" ^
+ -DLLVM_ENABLE_RUNTIMES=libcxx ^
+ -DLIBCXX_ENABLE_SHARED=YES ^
+ -DLIBCXX_ENABLE_STATIC=NO ^
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=NO
> cmake --build build
@@ -127,9 +128,10 @@ In either case, then run:
.. code-block:: batch
- > cmake -G Ninja -S libcxx -B build ^
+ > cmake -G Ninja -S runtimes -B build ^
-DCMAKE_C_COMPILER=clang-cl ^
-DCMAKE_CXX_COMPILER=clang-cl ^
+ -DLLVM_ENABLE_RUNTIMES=libcxx ^
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=NO
> ninja -C build cxx
> ninja -C build check-cxx
@@ -153,9 +155,10 @@ e.g. the ``mingw-w64-x86_64-clang`` package), together with CMake and ninja.
.. code-block:: bash
- > cmake -G Ninja -S libcxx -B build \
+ > cmake -G Ninja -S runtimes -B build \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
+ -DLLVM_ENABLE_RUNTIMES=libcxx \
-DLIBCXX_HAS_WIN32_THREAD_API=ON \
-DLIBCXX_CXX_ABI=libstdc++ \
-DLIBCXX_TARGET_INFO="libcxx.test.target_info.MingwLocalTI"
More information about the libcxx-commits
mailing list