1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-10 04:00:28 +00:00
Files
poky/meta/recipes-devtools/clang/common.inc
T
Deepesh Varatharajan 7a98334a8d clang: Upgrade to 21.1.2 release
Brings following bugfixes on top of 21.1.1

b708aea0bc71 [SCEV] Don't perform implication checks with many predicates (#158652)
77a3b0eda361 [RISCV] Refactor RVV builtin code generation for reduce compilation time [NFC] (#154906)
f14551dbc4e8 [RISCV] Reduce ManualCodeGen for RVV intrinsics with rounding mode. NFC
dcc2c1c933be [RISCV] Reduce ManualCodeGen for segment load/store intrinsics. NFC
e625a781211e [LLVM] Update CUDA ELF flags for their new ABI (#149534)
3e93017936b5 MC: Better handle backslash-escaped symbols (#158780)
bc5e9a5e2009 [MC] Add parseSymbol() helper (NFC) (#158106)
e2e5eb2f1cd9 [Loads] Check for overflow when adding MaxPtrDiff + Offset.
661c387fc2f1 release/21.x: [VPlan] Don't narrow op multiple times in narrowInterleaveGroups.
f5c1b5206cbe [PowerPC] Avoid working on deleted node in ext bool trunc combine (#160050)
db70369f400e [Clang] Fix an error-recovery crash after d1a80dea (#159976)
9c8736f348e0 [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354)
15a31832eab7 [RISCV] Re-work how VWADD_W_VL and similar _W_VL nodes are handled in combineOp_VLToVWOp_VL. (#159205)
f089fb21fffa [LoongArch] Fix MergeBaseOffset for constant pool index operand (#159336)
9eedaf5b1001 [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962)
5af5cfb60d9e [clang-format] Handle C digit separators (#158418)
0174263ac214 Bump version to 21.1.2
ff039a98523f [RISCV] Support PreserveMost calling convention (#148214)
1a644bc50948 [X86] Fix assertion in AVX512 setcc combine due to invalid APInt mask width (#155775)
2c8cb316b5d2 [lldb][test] Only assert function name is in user-code on Darwin platforms
f5ba88341e7c [lldb][test] TestTsanBasic.py: fix function name assertion
faedeb1a2420 [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (#133079)
54896838ca5e [lldb][Target] Clear selected frame index after a StopInfo::PerformAction (#133078)
f4907049285c [Clang][Cygwin] Use correct mangling rule (#158404)

(From OE-Core rev: bf15536de8fe99849eef0696455b5679b0f7a9d5)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00

79 lines
4.3 KiB
PHP

FILESEXTRAPATHS =. "${FILE_DIRNAME}/clang:"
LIC_FILES_CHKSUM = "file://llvm/LICENSE.TXT;md5=${LLVMMD5SUM} \
file://clang/LICENSE.TXT;md5=${CLANGMD5SUM} \
"
LICENSE = "Apache-2.0-with-LLVM-exception"
# Snapshot
#RELEASE ?= "a69568efe6c4972e71af295c6577b3412dd57c22"
#BASEURI ?= "https://api.github.com/repos/llvm/llvm-project/tarball/${RELEASE};downloadfilename=llvm-${PV}-${RELEASE}.tar.gz"
#SOURCEDIR ?= "llvm-llvm-project-${@'${RELEASE}'[0:7]}"
#SRC_URI[sha256sum] = "aed4f66cd72867b36cc55a0588436933c3d58d3e61ca782b6bf57605d3fdcb09"
# GA Release
RELEASE ?= "${PV}"
BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}${VER_SUFFIX}/llvm-project-${PV}${VER_SUFFIX}.src.tar.xz"
UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/"
UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)"
SOURCEDIR ?= "llvm-project-${PV}${VER_SUFFIX}.src"
SRC_URI[sha256sum] = "1a417d1c8faf8d93e73fec1cbb76d393ed3218974c2283c7bac9672d3d47c54b"
SRC_URI = "\
${BASEURI} \
file://0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch \
file://0002-compiler-rt-support-a-new-embedded-linux-target.patch \
file://0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch \
file://0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
file://0005-llvm-allow-env-override-of-exe-and-libdir-path.patch \
file://0006-clang-driver-Check-sysroot-for-ldso-path.patch \
file://0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch \
file://0008-clang-Prepend-trailing-to-sysroot.patch \
file://0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch \
file://0010-clang-Define-releative-gcc-installation-dir.patch \
file://0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \
file://0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch \
file://0013-Check-for-atomic-double-intrinsics.patch \
file://0014-cmake-Fix-configure-for-packages-using-find_package.patch \
file://0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch \
file://0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch \
file://0017-clang-Use-python3-in-python-scripts.patch \
file://0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch \
file://0019-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch \
file://0020-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch \
file://0021-libunwind-Added-unw_backtrace-method.patch \
file://0022-lldb-Link-with-libatomic-on-x86.patch \
file://0023-compiler-rt-Enable-__int128-for-ppc32.patch \
file://0024-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch \
file://0025-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch \
file://0026-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch \
file://0027-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch \
file://0028-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch \
file://0029-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch \
file://0030-compiler-rt-Do-not-pass-target-to-clang-compiler.patch \
file://0031-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch \
file://0032-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch \
file://0033-compiler-rt-Exclude-sync_fetch_and_-for-any-pre-ARMv.patch \
file://0034-compiler-rt-Hardcode-uptr-sptr-typedefs-on-Mips-Linu.patch \
file://0035-clang-Use-sysroot-relative-paths-for-getArchSpecific.patch \
file://0036-allow-external-prepare_builtins.patch \
file://0037-Revert-libc-Remap-headers-in-the-debug-info-when-bui.patch \
file://0038-Prevent-revisiting-block-when-searching-for-noreturn.patch \
file://0039-Only-build-c-index-test-when-clang-tests-are-include.patch \
file://0001-Install-lldb-tblgen.patch \
file://0001-dont-expose-LLVM_HAVE_OPT_VIEWER_MODULES.patch \
"
# Fallback to no-PIE if not set
GCCPIE ??= ""
UNPACKDIR = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/sources"
S = "${UNPACKDIR}/${SOURCEDIR}"
B ?= "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
# We need to ensure that for the shared work directory, the do_patch signatures match
# The real WORKDIR location isn't a dependency for the shared workdir.
src_patches[vardepsexclude] = "WORKDIR"
should_apply[vardepsexclude] += "PN"
CVE_PRODUCT = "llvm:llvm"