[libcxx-commits] [PATCH] D122715: [libcxx] [doc] Update Windows build instructions after deprecating the legacy standalone builds
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 30 14:11:39 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5fbce8b7ac9a: [libcxx] [doc] Update Windows build instructions after deprecating the legacy… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122715/new/
https://reviews.llvm.org/D122715
Files:
libcxx/docs/BuildingLibcxx.rst
Index: libcxx/docs/BuildingLibcxx.rst
===================================================================
--- libcxx/docs/BuildingLibcxx.rst
+++ libcxx/docs/BuildingLibcxx.rst
@@ -95,10 +95,11 @@
.. 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 @@
.. 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 @@
.. 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122715.419264.patch
Type: text/x-patch
Size: 2181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220330/c34992cf/attachment.bin>
More information about the libcxx-commits
mailing list