[Lldb-commits] [PATCH] D54510: Force SHELL to be cmd.exe on Windows for the test suite
Nathan Lanza via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 15 12:59:32 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB346993: Force SHELL to be cmd.exe on Windows for the test suite (authored by lanza, committed by ).
Herald added a subscriber: lldb-commits.
Changed prior to commit:
https://reviews.llvm.org/D54510?vs=173984&id=174271#toc
Repository:
rLLDB LLDB
https://reviews.llvm.org/D54510
Files:
packages/Python/lldbsuite/test/make/Makefile.rules
Index: packages/Python/lldbsuite/test/make/Makefile.rules
===================================================================
--- packages/Python/lldbsuite/test/make/Makefile.rules
+++ packages/Python/lldbsuite/test/make/Makefile.rules
@@ -51,6 +51,17 @@
endif
#----------------------------------------------------------------------
+# If OS is Windows, force SHELL to be cmd
+#
+# Some versions of make on Windows will search for other shells such as
+# C:\cygwin\bin\sh.exe. This shell fails for numerous different reasons
+# so default to using cmd.exe.
+#----------------------------------------------------------------------
+ifeq "$(OS)" "Windows_NT"
+ SHELL = $(WINDIR)\system32\cmd.exe
+endif
+
+#----------------------------------------------------------------------
# If TRIPLE is not defined try to set the ARCH, CC, CFLAGS, and more
# from the triple alone
#----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54510.174271.patch
Type: text/x-patch
Size: 948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181115/ac055a6a/attachment.bin>
More information about the lldb-commits
mailing list