[cfe-dev] Clang unit test failure / Windows

Yaron Keren yaron.keren at gmail.com
Mon May 4 20:16:46 PDT 2015


Hi

1 Use  -G "Unix Makefiles"
2 Do not use MSYS 2, lots of the tests fail.

Yaron


2015-05-05 5:50 GMT+03:00 barbara <barbara at copperspice.com>:

>  I downloaded clang 3.6 and built on Windows Vista using MinGW 4.8.1 and
> CMake 3.2.2
>
> 1    ran: cmake -G "MSYS Makefiles" ../llvm
>
> 2    There are two generated  make files which have backslash problems
> around line 54. These were simple to edit by hand however I believe this
> should not be required.
>
> (a)  tools/lto/CMakeFiles/LTO_exports.dir/build.make
> (b) tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/build.make
>
> 3    clang builds, however it must be restarted a few times.
>
> 4    After the build was done I ran clang-test and it failed with 269
> unexpected failures.
>
> 5    Linking libclang with our application appears to work. At run time,
> calling "clang_parseTranslationUnit2()" returns an extremely large number
> for the error code.
>
> I am happy to try any suggestions.
>
>
> Barbara
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150505/a4976ea7/attachment.html>


More information about the cfe-dev mailing list