lld: 14.0.6 -> 15.0.1

This commit is contained in:
Tim Biermann 2022-09-23 07:54:24 +02:00
parent a57404fbae
commit ab41ecc21d
3 changed files with 9 additions and 27 deletions

View File

@ -22,27 +22,6 @@ drwxr-xr-x root/root usr/include/lld/Common/
-rw-r--r-- root/root usr/include/lld/Common/TargetOptionsCommandFlags.h
-rw-r--r-- root/root usr/include/lld/Common/Timer.h
-rw-r--r-- root/root usr/include/lld/Common/Version.h
drwxr-xr-x root/root usr/include/lld/Core/
-rw-r--r-- root/root usr/include/lld/Core/AbsoluteAtom.h
-rw-r--r-- root/root usr/include/lld/Core/ArchiveLibraryFile.h
-rw-r--r-- root/root usr/include/lld/Core/Atom.h
-rw-r--r-- root/root usr/include/lld/Core/DefinedAtom.h
-rw-r--r-- root/root usr/include/lld/Core/Error.h
-rw-r--r-- root/root usr/include/lld/Core/File.h
-rw-r--r-- root/root usr/include/lld/Core/Instrumentation.h
-rw-r--r-- root/root usr/include/lld/Core/LinkingContext.h
-rw-r--r-- root/root usr/include/lld/Core/Node.h
-rw-r--r-- root/root usr/include/lld/Core/Pass.h
-rw-r--r-- root/root usr/include/lld/Core/PassManager.h
-rw-r--r-- root/root usr/include/lld/Core/Reader.h
-rw-r--r-- root/root usr/include/lld/Core/Reference.h
-rw-r--r-- root/root usr/include/lld/Core/Resolver.h
-rw-r--r-- root/root usr/include/lld/Core/SharedLibraryAtom.h
-rw-r--r-- root/root usr/include/lld/Core/SharedLibraryFile.h
-rw-r--r-- root/root usr/include/lld/Core/Simple.h
-rw-r--r-- root/root usr/include/lld/Core/SymbolTable.h
-rw-r--r-- root/root usr/include/lld/Core/UndefinedAtom.h
-rw-r--r-- root/root usr/include/lld/Core/Writer.h
drwxr-xr-x root/root usr/include/mach-o/
-rw-r--r-- root/root usr/include/mach-o/compact_unwind_encoding.h
drwxr-xr-x root/root usr/lib/

View File

@ -1,6 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/W2D1Hcukg44VRQviJym2Vhj5mkQ0gHKzJG9udJdxDff2iNP+RuikgIDtV3spzaSnkST1szdXYLvJchAO4Mjhg8=
SHA256 (Pkgfile) = 2a983e552704c9ea66e9008708d217ac7fc36a07c8d6b421931aa1a319fa0222
SHA256 (.footprint) = 75391d9a4582fa5906b80f10918fd10be6bb2261f9936c6598be78fc999a8c1a
SHA256 (lld-14.0.6.src.tar.xz) = 0c28ce0496934d37d20fec96591032dd66af8d10178a45762e0e75e85cf95ad3
RWSE3ohX2g5d/Q9z88scXpYgl+qunAdM+XZjNNu39NRjpRMqiienfb2j0un413TWqqS0g5yN31yZuyQudXl1GK65VesHOFzGmgc=
SHA256 (Pkgfile) = 0384881fea089df3f1236a7a8c04c182def667bf38bccf1a965db33084000f28
SHA256 (.footprint) = b491a5baf42a9784731248d9fc79dd9a48ffc369164a86f221e6b24e66ec71a4
SHA256 (lld-15.0.1.src.tar.xz) = 4966ce882c147452b607a2a7320d5e3400b6d1f27543009bea5445aeb64d3728
SHA256 (cmake-15.0.1.src.tar.xz) = a660d1b7d4d2ef9759de6ad360d5fa9eed3625a6548068a97df2dd706edf2dd0
SHA256 (0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch) = 3b18edef05d3a3fc0030b7a7674e455574dfbdecf26f23c6af5bd30e987b0f55

View File

@ -4,20 +4,22 @@
# Depends on: llvm
name=lld
version=14.0.6
version=15.0.1
release=1
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/lld-$version.src.tar.xz
https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/cmake-$version.src.tar.xz
0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch)
build() {
patch -d $name-$version.src -p2 -i $SRC/0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch
cp -r $SRC/cmake-$version.src/Modules/* $name-$version.src/cmake/modules/.
cmake -S $name-$version.src -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D LLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF;NVPTX;WebAssembly' \
-D LLVM_LINK_LLVM_DYLIB=ON \
-D LLVM_PARALLEL_COMPILE_JOBS="${JOBS:-1}" \
-Wno-dev