[cfe-dev] How to run test on Windows?

NAKAMURA Takumi geek4civic at gmail.com
Mon Aug 15 20:11:09 PDT 2011


Oh, I missed the topic.

>> On Mon, Aug 15, 2011 at 12:56 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
>>> Getting started and Hacking on clang don't mention MSYS, is it needed?
>>
>> It claims it's not, and specifically mentions that the grep from MSYS
>> is not the same as the grep from GnuWin32.  So you have to do some
>> PATH manipulation to make things work.  However, I ultimately was
>> unable to get it to work.

Even with msvc, Lit can work with msys toolchain (and msys bash).
But msys bash tends to tweak slashes, to let some tests fail.

I recommend gnuwin32 may be used on cmake win32 (msvc, mingw and msys).
Then, make sure to set proper LLVM_LIT_TOOLS_DIR.

...Takumi




More information about the cfe-dev mailing list