shinchiro / mpv-winbuild-cmake

CMake-based MinGW-w64 Cross Toolchain
659 stars 117 forks source link

llvm: update to 18.1 #622

Closed Andarwinux closed 8 months ago

Andarwinux commented 8 months ago

LLVM 18.1 is now available.

CharlesMengCA commented 8 months ago

Working fine for my limited testing. :)

Andarwinux commented 8 months ago

Currently rust nightly LLVM is bumped to 18.1, so this need be merged in order to continue the gnullvm changes, otherwise the cross-language LTO will be wrong. This is the only thing that blocks AArch64 support, other stuff has been fixed upstream recently without any patch.

Andarwinux commented 8 months ago

Added previously missed changes. LLD18.1 can strip DWARF part of pdb when passing -s, generating a minimal binary and pdb with no debugging impact. This also results in a smaller $TARGET_ARCH-w64-mingw32/bin dir. So for LLVM toolchain, manual strip is no longer needed. also avoids strip COFF chksum, in line with GCC and MSVC.

shinchiro commented 8 months ago

Please split changes into commits and describe each as concise as possible in commit message. This will made me easy to look up and review

shinchiro commented 8 months ago

Looks ok from my view