Skip to content

Conversation

@ingomueller-net
Copy link
Contributor

@ingomueller-net ingomueller-net commented Jul 29, 2025

This was broken by #150661, which added includes to wcspbrk.cpp and wcschr.cpp that weren't in the dependencies of the corresponding targets.

@llvmbot llvmbot added libc bazel "Peripheral" support tier build system: utils/bazel labels Jul 29, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 29, 2025

@llvm/pr-subscribers-libc

Author: Ingo Müller (ingomueller-net)

Changes

This was broken by #150661, which added an include to wcspbrk.cpp that wasn't in the dependencies of the corresponding target.


Full diff: https://github.com/llvm/llvm-project/pull/151090.diff

1 Files Affected:

  • (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+1)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 0e40d92cb5c97..d9e0110c437a6 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -6379,6 +6379,7 @@ libc_function(
         ":__support_common",
         ":__support_macros_null_check",
         ":types_wchar_t",
+        ":wchar_utils",
     ],
 )
 

This was broken by llvm#150661, which added includes to `wcspbrk.cpp` and
`wcschr.cpp` that weren't in the dependencies of the corresponding
targets.

Signed-off-by: Ingo Müller <[email protected]>
@ingomueller-net ingomueller-net force-pushed the fix-wcspbrk-bazel-deps branch from ed56941 to edbe9de Compare July 29, 2025 06:51
@ingomueller-net ingomueller-net changed the title [libc] Fix bazel build by adding :wchar_utils to deps. [libc] Fix bazel build by build by adding missing deps. Jul 29, 2025
@lntue lntue merged commit 8c87496 into llvm:main Jul 29, 2025
9 checks passed
@ingomueller-net ingomueller-net deleted the fix-wcspbrk-bazel-deps branch July 29, 2025 07:00
ingomueller-net added a commit that referenced this pull request Jul 29, 2025
This adds two dependencies that I wanted to be part of #151090 but
forgot to add them before the last push, which related to `wcschr.cpp`
and were originally broken by #150661.

Signed-off-by: Ingo Müller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel "Peripheral" support tier build system: utils/bazel libc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants