Skip to content

Conversation

kaladron
Copy link
Contributor

@kaladron kaladron commented Oct 9, 2025

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.

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.
@llvmbot llvmbot added the libc label Oct 9, 2025
@llvmbot
Copy link
Member

llvmbot commented Oct 9, 2025

@llvm/pr-subscribers-libc

Author: Jeff Bailey (kaladron)

Changes

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 --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
      }
    }
 

@kaladron kaladron self-assigned this Oct 9, 2025
@kaladron kaladron enabled auto-merge (squash) October 9, 2025 17:04
@kaladron kaladron disabled auto-merge October 9, 2025 17:05
@kaladron kaladron enabled auto-merge (squash) October 9, 2025 17:05
@kaladron kaladron merged commit 42d26a1 into llvm:main Oct 9, 2025
20 checks passed
svkeerthy pushed a commit that referenced this pull request Oct 9, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants