compiler-rt: 19.1.2 -> 19.1.3

This commit is contained in:
Tim Biermann 2024-10-30 12:42:23 +01:00
parent a40ce103ce
commit b19ee296dc
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 7 additions and 33 deletions

View File

@ -1,8 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/SI6eiaY9saHOVhlBosilbztDvNJmUhDrsah1AFONQWg+q10BHTrFwKmO7AZVInA8oPiMbnk0EZTYrvrWrcHfg8=
SHA256 (Pkgfile) = f61e5a2ac419a7eb61c4c0b10d576bcd4ba68dfc8f7bfcef76b884892428201f
RWSE3ohX2g5d/UTWnBvD5h6CdNOEI+CsXBqHYcHnACd0KuHqgNiCLGFZbasIANOR242TSTTWn3pA8llBROyMr/i4f41Y1epitQQ=
SHA256 (Pkgfile) = 13a084a771120ddb8603670c8aeb59b62cb229dd9345dce0eeeeb7196988c4ff
SHA256 (.footprint) = 116ce2fdcc516cd99042fad9de856aa87566733a09bfdb57c30b244279b75301
SHA256 (compiler-rt-19.1.2.src.tar.xz) = 90fff9fbec5ef141f7f281d8d108dc52f7ea59a7da234ffb4fe46446f6617e9a
SHA256 (llvm-19.1.2.src.tar.xz) = 99a7b915dd67e02564567f07f1c93c4ab0f4d4119e02d80d450e76ae69cf36bd
SHA256 (cmake-19.1.2.src.tar.xz) = 139209d798fbe4a84becfa605aee7fd8f4412c6591976f3e672211e3fbdcf65b
SHA256 (libsanitizer-timebits.diff) = f88d5c03b835d411cc1b244ea52a5621b089ccd540efb46631b86ef8781e6262
SHA256 (compiler-rt-19.1.3.src.tar.xz) = 9c57dfa7796c254f85ade3f84f12e3a7dd5dae65c0ade428367fe8c5218f856a
SHA256 (llvm-19.1.3.src.tar.xz) = 11e166d0f291a53cfc6b9e58abd1d7954de32ebc37672987612d3b7075d88411
SHA256 (cmake-19.1.3.src.tar.xz) = 4c55aa6e77fc0e8b759bca2c79ee4fd0ea8c7fab06eeea09310ae1e954a0af5e

View File

@ -5,12 +5,11 @@
# Optional: clang
name=compiler-rt
version=19.1.2
version=19.1.3
release=1
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/compiler-rt-$version.src.tar.xz
https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz
https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/cmake-$version.src.tar.xz
libsanitizer-timebits.diff)
https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/cmake-$version.src.tar.xz)
build() {
mv llvm-$version.src llvm
@ -23,8 +22,6 @@ build() {
fi
fi
patch -Np2 -d $name-$version.src -i $SRC/libsanitizer-timebits.diff
cmake -S $name-$version.src -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \

View File

@ -1,22 +0,0 @@
# DP: Add another #undef for _TIME_BITS
--- a/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
@@ -11,6 +11,7 @@
// Before Solaris 11.4, <procfs.h> doesn't work in a largefile environment.
#undef _FILE_OFFSET_BITS
+#undef _TIME_BITS
#include "sanitizer_platform.h"
#if SANITIZER_SOLARIS
# include <fcntl.h>
#--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
#+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
#@@ -18,6 +18,7 @@
# // depends on _FILE_OFFSET_BITS setting.
# // To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below.
# #undef _FILE_OFFSET_BITS
#+#undef _TIME_BITS
# #endif
#
# // Must go after undef _FILE_OFFSET_BITS.