[libc-commits] [libc] [libc][docs] Update VSCode instructions for full host build (PR #162626)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Thu Oct 9 03:09:07 PDT 2025
https://github.com/kaladron updated https://github.com/llvm/llvm-project/pull/162626
>From 6a8e06ea154467b7696527ec411d4e5010dc59d4 Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jbailey at raspberryginger.com>
Date: Thu, 9 Oct 2025 10:06:34 +0000
Subject: [PATCH] [libc][docs] Update VSCode instructions for full host build
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.
---
libc/docs/build_and_test.rst | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
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