Skip to content

Commit 42d26a1

Browse files
authored
[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.
1 parent 263345b commit 42d26a1

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

libc/docs/build_and_test.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,18 @@ and put the following in your settings.json file:
4747
.. code-block:: javascript
4848
4949
{
50-
"cmake.sourceDirectory": "${workspaceFolder}/llvm",
50+
"cmake.sourceDirectory": "${workspaceFolder}/runtimes",
5151
"cmake.configureSettings": {
52-
"LLVM_ENABLE_PROJECTS" : "libc",
53-
"LLVM_LIBC_FULL_BUILD" : true,
54-
"LLVM_ENABLE_SPHINX" : true,
55-
"LIBC_INCLUDE_DOCS" : true
52+
"LLVM_ENABLE_RUNTIMES" : ["libc", "compiler-rt"],
53+
"LLVM_LIBC_FULL_BUILD" : true,
54+
"LLVM_ENABLE_SPHINX" : true,
55+
"LIBC_INCLUDE_DOCS" : true,
56+
"LLVM_LIBC_INCLUDE_SCUDO" : true,
57+
"COMPILER_RT_BUILD_SCUDO_STANDALONE_WITH_LLVM_LIBC": true,
58+
"COMPILER_RT_BUILD_GWP_ASAN" : false,
59+
"COMPILER_RT_SCUDO_STANDALONE_BUILD_SHARED" : false,
60+
"CMAKE_EXPORT_COMPILE_COMMANDS" : true,
61+
"LIBC_CMAKE_VERBOSE_LOGGING" : true
5662
}
5763
}
5864

0 commit comments

Comments
 (0)