Re: [ITA] llvm

Jeremy Drake via Cygwin-apps <[email protected]>
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
On Tue, 13 May 2025, Jeremy Drake via Cygwin-apps wrote:

> On Wed, 14 May 2025, Takashi Yano via Cygwin-apps wrote:
>
> > Test result of current clang local head:
> > Total Discovered Tests: 46304
> >   Skipped          :     8 (0.02%)
> >   Unsupported      :   181 (0.39%)
> >   Passed           : 46059 (99.47%)
> >   Expectedly Failed:    31 (0.07%)
> >   Failed           :    25 (0.05%)
> >
> > Test result of current llvm local head:
> > Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
> > Hangs around 90% progress. I'll look into this issue.
> >
> > Test result of current lld local head:
> > Total Discovered Tests: 1064
> >   Unsupported:   10 (0.94%)
> >   Passed     : 1054 (99.06%)
>
> I had to kill some hung tests to get results from llvm.  1) it warned up
> front that the python psutil module was missing so it couldn't use
> timeouts to kill hanging tests.  2) I think at least one hung test was
> socket-related.
>
> From what I pushed yesterday(?):
> llvm:
> Total Discovered Tests: 65071
>   Skipped          :    51 (0.08%)
>   Unsupported      :  2196 (3.37%)
>   Passed           : 62519 (96.08%)
>   Expectedly Failed:   193 (0.30%)
>   Failed           :   112 (0.17%)
>
> clang:
> Total Discovered Tests: 46305
>   Skipped          :     8 (0.02%)
>   Unsupported      :   181 (0.39%)
>   Passed           : 46061 (99.47%)
>   Expectedly Failed:    31 (0.07%)
>   Failed           :    24 (0.05%)
>
> lld:
> Total Discovered Tests: 1064
>   Unsupported:   10 (0.94%)
>   Passed     : 1054 (99.06%)

Also, with my last push (adjusting the template instantiation patch to
!isWindowsCygwinEnvironment) I can again use llvm-mingw wrappers of the
installed Cygwin clang/lld to cross-compile llvm for i686-w64-mingw32.

 git clone https://github.com/mstorsjo/llvm-mingw.git
 cd llvm-mingw
 ./build-all.sh --host-clang /opt/llvm-mingw
 cd mingw-w64; git clean -dxxf .
 cd ../llvm-project; git clean -dxxf .
 patch -p1 -i .../llvm/0004-LLVM-Cygwin-Fix-Signals*.patch
 patch -p1 -i .../llvm/0006-LLVM-Cygwin-Define-_GNU_SOURCE-*.patch
 cd ..
 ./build-cross-tools.sh /opt/llvm-mingw i686-prefix i686

(it should work for any of the 4 arches i686 x86_64 armv7 aarch64)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.