[LLVMdev] Issues running LLVM tests on Windows + MKS; filed 4 PRs and have patches
David Neto
dneto.llvm at gmail.com
Wed Apr 13 12:11:47 PDT 2011
I have filed a number of problem reports about getting the LLVM test
infrastructure working for an environment with: Windows + MSVC9 +
Cmake + NMake makefiles + MKS. (MKS provides unix-like tools for
Windows, but based on very old versions, so they have quirky or
minimal compatibility with GNU tools.)
http://llvm.org/bugs/show_bug.cgi?id=9689 - Fix Cmake generation of
compile_cxx for MSVC - Oscar already applied a fix. Thanks!
http://llvm.org/bugs/show_bug.cgi?id=9687 - MKS bash does not
understand "set -o pipefail"
http://llvm.org/bugs/show_bug.cgi?id=9691 - lit can't find bash in
non-standard location. (I see now it's a duplicate of PR8502)
http://llvm.org/bugs/show_bug.cgi?id=9698 - Many tests fail because
Windows doesn't understand /dev/null nor >&
http://llvm.org/bugs/show_bug.cgi?id=9703 - MC/COFF and MC/ELF tests
fail because you have to call the .bat version of elf-dump (etc.)
I have attached a patch to 9703 to fix 9703,9698,9687.
I also have a patch in 9691 to fix 9691. Similarly I think the patch
for 8502 will also fix 9691.
How do I get these reviewed? Attach them in an email? Or is this
email with references to the PRs ok?
With all these patches I can reasonably run the LLVM trunk tests (not
the llvm-gcc based ones though). Things look very good, with two
non-infrastructure issues. (And whoever generalized the CodeGen/X86
tests for the Microsoft x86-64 calling convention: you have a special
place in my heart. :-)
thanks,
david
More information about the llvm-dev
mailing list