[all-commits] [llvm/llvm-project] 0f1f13: Re-land: [lit] Support running tests on Windows wi...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Thu Dec 10 18:42:37 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f1f13fcb17fbc8c93d505da989a04ab5cbd9ed3
https://github.com/llvm/llvm-project/commit/0f1f13fcb17fbc8c93d505da989a04ab5cbd9ed3
Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M llvm/utils/lit/lit/llvm/config.py
Log Message:
-----------
Re-land: [lit] Support running tests on Windows without GnuWin32
Historically, we have told contributors that GnuWin32 is a pre-requisite
because our tests depend on utilities such as sed, grep, diff, and more.
However, Git on Windows includes versions of these utilities in its
installation. Furthermore, GnuWin32 has not been updated in many years.
For these reasons, it makes sense to have the ability to run llvm tests
in a way that is both:
a) Easier on the user (less stuff to install)
b) More up-to-date (The verions that ship with git are at least as
new, if not newer, than the versions in GnuWin32.
We add support for this here by attempting to detect where Git is
installed using the Windows registry, confirming the existence of
several common Unix tools, and then adding this location to lit's PATH
environment.
Differential Revision: https://reviews.llvm.org/D84380
More information about the All-commits
mailing list