muttleyxd / clang-tools-static-binaries

static-linked versions of clang tools for Linux, Mac OS X and Windows, available in AUR as clang-format-static-bin
The Unlicense
162 stars 55 forks source link

Add LLVM 16 binaries #25

Closed mirenradia closed 1 year ago

mirenradia commented 1 year ago

It would be great to update this repo to include the static binaries from the LLVM v16 release. I tried to do this myself (see the llvm16 branch on my fork) but the CI kept failing (e.g. see this job - I've copied the relevant output below) and I don't know enough about building LLVM to be able to resolve it.

Here are the relevant lines from the build logs where it seems to be failing:

 [ 32%] Building AArch64GenDAGISel.inc...
[0x4c3752]
[0x4be47c]
[0x5227f0]
[0x4f557a]
[0x4e67de]
[0x42ddb2]
[0x43388f]
[0x426ff6]
[0x426c3d]
[0x426c3d]
[0x4280fa]
[0x432bb6]
[0x42cd99]
[0x4aab10]
[0x4dbe39]
[0x401db1]
[0x517d9a]
[0x5195f7]
[0x404a35]
Stack dump:
0.  Program arguments: ../../../bin/llvm-tblgen -gen-dag-isel -I /home/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/llvm-project-7.1.0/llvm/lib/Target/AArch64 -I /home/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/llvm-project-7.1.0/llvm/include -I /home/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/llvm-project-7.1.0/llvm/lib/Target /home/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/llvm-project-7.1.0/llvm/lib/Target/AArch64/AArch64.td -o /home/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/llvm-project-7.1.0/build/lib/Target/AArch64/AArch64GenDAGISel.inc.tmp 
Segmentation fault (core dumped)
gmake[3]: *** [lib/Target/AArch64/CMakeFiles/AArch64CommonTableGen.dir/build.make:428: lib/Target/AArch64/AArch64GenDAGISel.inc.tmp] Error 139
gmake[2]: *** [CMakeFiles/Makefile2:13733: lib/Target/AArch64/CMakeFiles/AArch64CommonTableGen.dir/all] Error 2
muttleyxd commented 1 year ago

This probably get done by #26, let's wait for results from GitHub Actions

shenxianpeng commented 1 year ago

The GitHub Actions have been passed, it seems ready to release.

muttleyxd commented 1 year ago

Yeah, sorry, I was quite busy, I published the release. Thanks for the reminder