https://github.com/weliveindetail created 
https://github.com/llvm/llvm-project/pull/112342

In recent PR https://github.com/llvm/llvm-project/pull/111531 for Windows 
support, we enabled tests that require the `make` tool. On Windows default 
install directories likely contain spaces, in this case e.g. `C:\Program Files 
(x86)\GnuWin32\bin\make.exe`. It's typically handled well by CMake, so that 
today invocations from `dotest.py` don't cause issues. However, we also have 
nested invocations from a number of Makefiles themselves. These still fail if 
the path to the `make` tool contains spaces.

From ccf6dd4b711949a6f9307a71457b608971f306bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= <stefan.graen...@gmail.com>
Date: Tue, 15 Oct 2024 11:38:05 +0200
Subject: [PATCH] [lldb] Support tests with nested make invocations on Windows

---
 lldb/test/API/functionalities/completion/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/test/API/functionalities/completion/Makefile 
b/lldb/test/API/functionalities/completion/Makefile
index f46742243bd96d..e457693f62ca44 100644
--- a/lldb/test/API/functionalities/completion/Makefile
+++ b/lldb/test/API/functionalities/completion/Makefile
@@ -4,7 +4,7 @@ USE_LIBDL := 1
 a.out: lib_shared
 
 lib_shared:
-       $(MAKE) -f $(MAKEFILE_RULES) \
+       "$(MAKE)" -f $(MAKEFILE_RULES) \
                DYLIB_ONLY=YES DYLIB_CXX_SOURCES=shared.cpp DYLIB_NAME=shared
 
 include Makefile.rules

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to