Chris Matthews via llvm-dev
2016-Sep-02 14:01 UTC
[llvm-dev] Running LNT and the LLVM test-suite on Windows
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(mailto: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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160902/c9351f12/attachment.html>
Michael Kruse via llvm-dev
2016-Sep-02 14:34 UTC
[llvm-dev] Running LNT and the LLVM test-suite on Windows
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
Martin J. O'Riordan via llvm-dev
2016-Sep-02 14:35 UTC
[llvm-dev] Running LNT and the LLVM test-suite on Windows
Thanks very much for the advice, I look forward to this being my next new project. MartinO From: chris.matthews at apple.com [mailto:chris.matthews at apple.com] Sent: 02 September 2016 15:02 To: Michael Kruse <llvmdev at meinersbur.de>; Martin J. O'Riordan <martin.oriordan at movidius.com>; Michael Kruse via llvm-dev <llvm-dev at lists.llvm.org> Cc: LLVM Developers <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] Running LNT and the LLVM test-suite on Windows 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 <mailto: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 <mailto: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 <mailto:llvm-dev at lists.llvm.org> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160902/5560b4f2/attachment.html>
Martin J. O'Riordan via llvm-dev
2016-Sep-02 14:57 UTC
[llvm-dev] Running LNT and the LLVM test-suite on Windows
I assume this is referring to the new Linux compatibility subsystem for Windows 10; or do you mean the older Posix subsystem? I will certainly investigate all approaches to find which works best for my cross-compiler, it has an unusual link and run model to other cross-compilers I have worked on, so a lot of the trouble will be writing a suitable wrapper for it. Thanks again, MartinO -----Original Message----- From: meinersbur at googlemail.com [mailto:meinersbur at googlemail.com] On Behalf Of Michael Kruse Sent: 02 September 2016 15:34 To: Chris Matthews <chris.matthews at apple.com> Cc: Martin J. O'Riordan <martin.oriordan at movidius.com>; Michael Kruse via llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] Running LNT and the LLVM test-suite on Windows 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