[llvm-dev] Running LNT and the LLVM test-suite on Windows

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 2 07:34:27 PDT 2016


I am not sure whether this was a response to my proposed "Windows
subsystem for Linux" solution. I can confirm that it works fine as I
use it regularly (sanitizer builds unfortunately do not work)

As with a virtual machine, you have to create a llvm/clang build for
use within the subsystem, but sources can be shared with symbolic
links into the Windows filesystem.

It cannot work "natively" on Windows as many test-suite programs
require Unix-specific headers. You'd have to rewrite the
platform-specific parts of those first/exclude them from test-suite.

Michael


2016-09-02 16:01 GMT+02:00 Chris Matthews <chris.matthews at apple.com>:
> There is no way this will work first try, but there is no reason this cant
> work with some fixups. We have not been testing it, so im sure there will be
> glitches.
>
> I'd start by running the test-suite with cmake, and see how it goes, then
> move on to LNT.
>
>
> On September 2, 2016 at 4:18:29 AM, Michael Kruse via llvm-dev
> (llvm-dev at lists.llvm.org) wrote:
>>
>> 2016-09-02 12:26 GMT+02:00 Martin J. O'Riordan via llvm-dev
>> <llvm-dev at lists.llvm.org>:
>>
>> Is it possible to run the LLVM test-suite using LNT on Windows? Even under
>> Cygwin? If so how can I do this? The Linux instructions use ‘virtualenv’.
>>
>>
>> You can use the "Windows subsystem for Linux"
>> (https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux).
>>
>> Michael
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list