[Lldb-commits] [lldb] [lldb] Do not use mkdir -p in makefile on Windows (PR #187244)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 18 04:28:24 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Dmitry Vasilyev (slydiman)
<details>
<summary>Changes</summary>
`Make` uses systems's `mkdir` on Windows even if Git's mkdir.exe is present in PATH. Windows's mkdir does not support the parameter `-p` and creates the directory `-p` instead. Few other tests also use `mkdir -p` but they are linux, objc or macosx related.
---
Full diff: https://github.com/llvm/llvm-project/pull/187244.diff
1 Files Affected:
- (modified) lldb/test/API/lang/cpp/incomplete-types/Makefile (+1-1)
``````````diff
diff --git a/lldb/test/API/lang/cpp/incomplete-types/Makefile b/lldb/test/API/lang/cpp/incomplete-types/Makefile
index 0cf3f6a31caa2..9fcf4c6114254 100644
--- a/lldb/test/API/lang/cpp/incomplete-types/Makefile
+++ b/lldb/test/API/lang/cpp/incomplete-types/Makefile
@@ -15,7 +15,7 @@ main.o: NO_LIMIT_DEBUG_INFO_FLAGS = ""
main.o: CFLAGS_EXTRAS = -flimit-debug-info
limit: a.o main.o
- mkdir -p build_limit
+ mkdir build_limit
"$(MAKE)" -C $(BUILDDIR)/build_limit -f $(MAKEFILE_RULES) \
EXE=../limit CXX_SOURCES="length.cpp ../a.o ../main.o" \
CFLAGS_EXTRAS=-flimit-debug-info NO_LIMIT_DEBUG_INFO_FLAGS=""
``````````
</details>
https://github.com/llvm/llvm-project/pull/187244
More information about the lldb-commits
mailing list