[libc-commits] [libc] 42d26a1 - [libc][docs] Update VSCode instructions for full host build (#162626)
via libc-commits
libc-commits at lists.llvm.org
Thu Oct 9 10:10:53 PDT 2025
Author: Jeff Bailey
Date: 2025-10-09T17:10:47Z
New Revision: 42d26a185f9c5569a708f50220e7066e543a5175
URL: https://github.com/llvm/llvm-project/commit/42d26a185f9c5569a708f50220e7066e543a5175
DIFF: https://github.com/llvm/llvm-project/commit/42d26a185f9c5569a708f50220e7066e543a5175.diff
LOG: [libc][docs] Update VSCode instructions for full host build (#162626)
The VSCode instructions were stale from the transition to the runtimes
directory. This updates will all the options give on the Full Host Build
page.
Tested:
Built libc target.
Added:
Modified:
libc/docs/build_and_test.rst
Removed:
################################################################################
diff --git a/libc/docs/build_and_test.rst b/libc/docs/build_and_test.rst
index dfdd96531b1f9..d608591288cf1 100644
--- a/libc/docs/build_and_test.rst
+++ b/libc/docs/build_and_test.rst
@@ -47,12 +47,18 @@ and put the following in your settings.json file:
.. code-block:: javascript
{
- "cmake.sourceDirectory": "${workspaceFolder}/llvm",
+ "cmake.sourceDirectory": "${workspaceFolder}/runtimes",
"cmake.configureSettings": {
- "LLVM_ENABLE_PROJECTS" : "libc",
- "LLVM_LIBC_FULL_BUILD" : true,
- "LLVM_ENABLE_SPHINX" : true,
- "LIBC_INCLUDE_DOCS" : true
+ "LLVM_ENABLE_RUNTIMES" : ["libc", "compiler-rt"],
+ "LLVM_LIBC_FULL_BUILD" : true,
+ "LLVM_ENABLE_SPHINX" : true,
+ "LIBC_INCLUDE_DOCS" : true,
+ "LLVM_LIBC_INCLUDE_SCUDO" : true,
+ "COMPILER_RT_BUILD_SCUDO_STANDALONE_WITH_LLVM_LIBC": true,
+ "COMPILER_RT_BUILD_GWP_ASAN" : false,
+ "COMPILER_RT_SCUDO_STANDALONE_BUILD_SHARED" : false,
+ "CMAKE_EXPORT_COMPILE_COMMANDS" : true,
+ "LIBC_CMAKE_VERBOSE_LOGGING" : true
}
}
More information about the libc-commits
mailing list