[libc-commits] [libc] [libc][docs] Update VSCode instructions for full host build (PR #162626)
via libc-commits
libc-commits at lists.llvm.org
Thu Oct 9 03:09:06 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Jeff Bailey (kaladron)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/162626.diff
1 Files Affected:
- (modified) libc/docs/build_and_test.rst (+11-5)
``````````diff
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
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/162626
More information about the libc-commits
mailing list