summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-09 17:18:06 -0800
committerKhem Raj <raj.khem@gmail.com>2022-03-10 07:52:50 -0800
commitb3e3eeea3d64a7443ff7253f8ce4609b17ed5e3f (patch)
treea1fb7ea52e005924f370bae94cbb69e33df2893a /classes
parentf050e3b51ab3630d4fa74f52d11d0a13a9a4398a (diff)
downloadmeta-clang-b3e3eeea3d64a7443ff7253f8ce4609b17ed5e3f.tar.gz
clang: Upgrade to latest on 14.x
Enable __int128 for compiler-rt/ppc32 Drop redundant ppc patch which is fixed upstream already Brings these fixes * e879b2bf82ef [libcxxabi] [test] Depend on unwind only if available * 569b773323a3 [libcxx][CI] Set Arm triples to match native clang build's default * f7007c570a21 Lambdas are not necessarily locals. This resolves DR48250. * eb84577cbc23 Revert "[release] Use the Bootstrapping build for building LLVM releases" * d843bde69aab [clang][driver] Fix float128 diagnostics with glibc >= 2.32 * ba9ff030d302 [SimplifyCFG][PhaseOrdering] Defer lowering switch into an integer range comparison and branch until after at least the IPSCCP * da3953fb0315 [NFC][PhaseOrdering] Add some tests from D119839 * 8b51e5ee0a2e [NewPM][Inliner] Make inlined calls to functions in same SCC as callee exponentially expensive * 6a713120502a [llvm] [bindings/OCaml] Remove unused dep on ounit2 * 2de2a2bba998 [LICM][PhaseOrder] Don't speculate in LICM until after running loop rotate * 7d1cd3380add [NFC][PhaseOrdering] Improve test coverage for D119975 * 1f4613675051 [NFC][PhaseOrdering] spurious-peeling.ll: also test -O1/-O2 results * 36bf1a9e628d [NFC][PhaseOrdering] Precommit tests from D119965 * 67555104d23a [MachineSink] Disable if there are any irreducible cycles * 1e4fd59253c6 [CodeGen] Add test for PR53990 (NFC) * bfaed485756a [BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter * 43b4544023b7 [LLD] [COFF] Order .debug_* sections at the end, to avoid leaving gaps if stripped * e6d2aa9b0f13 [MC][WebAssembly] Fix crash when relocation addend underlows U32 * f6a4df3a0a3d [WebAssembly] Covert llvm/test/MC/WebAssembly/reloc-code.ll to asm. NFC * 9d54fe21c67f [docs] Add RISC-V release notes for LLVM 14 * 1e3d5ccab6b6 Add cmake to source release tarballs * 0205cc086e50 [OpenMP][FIX] Ensure custom state machine works * 0826716786cd [Mips] support "sp" named register * 09546e1b5103 [libc++][doc] Update the release notes. * 8f9f84c6873e [docs] clang/docs/ReleaseNotes.rst: Add blank line * aab33202d239 [docs] PowerPC release notes formatting/grammar fixes * acf67b7a0dfc [docs] Tweak wording of note re: LTO on AIX * ce1e90fc8dba [docs] Add PowerPC release notes for LLVM 14 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/clang.bbclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass
index 6e4c43f..71f2513 100644
--- a/classes/clang.bbclass
+++ b/classes/clang.bbclass
@@ -19,18 +19,18 @@ PACKAGE_DEBUG_SPLIT_STYLE:toolchain-clang = "debug-without-src"
19 19
20COMPILER_RT ??= "" 20COMPILER_RT ??= ""
21COMPILER_RT:class-native = "-rtlib=libgcc ${UNWINDLIB}" 21COMPILER_RT:class-native = "-rtlib=libgcc ${UNWINDLIB}"
22COMPILER_RT:powerpc = "-rtlib=libgcc ${UNWINDLIB}" 22#COMPILER_RT:powerpc = "-rtlib=libgcc ${UNWINDLIB}"
23COMPILER_RT:armeb = "-rtlib=libgcc ${UNWINDLIB}" 23COMPILER_RT:armeb = "-rtlib=libgcc ${UNWINDLIB}"
24COMPILER_RT:libc-klibc = "-rtlib=libgcc ${UNWINDLIB}" 24COMPILER_RT:libc-klibc = "-rtlib=libgcc ${UNWINDLIB}"
25 25
26UNWINDLIB ??= "" 26UNWINDLIB ??= ""
27UNWINDLIB:class-native = "--unwindlib=libgcc" 27UNWINDLIB:class-native = "--unwindlib=libgcc"
28UNWINDLIB:powerpc = "--unwindlib=libgcc" 28#UNWINDLIB:powerpc = "--unwindlib=libgcc"
29UNWINDLIB:armeb = "--unwindlib=libgcc" 29UNWINDLIB:armeb = "--unwindlib=libgcc"
30UNWINDLIB_libc-klibc = "--unwindlib=libgcc" 30UNWINDLIB_libc-klibc = "--unwindlib=libgcc"
31 31
32LIBCPLUSPLUS ??= "" 32LIBCPLUSPLUS ??= ""
33LIBCPLUSPLUS:powerpc = "-stdlib=libstdc++" 33#LIBCPLUSPLUS:powerpc = "-stdlib=libstdc++"
34LIBCPLUSPLUS:armv5 = "-stdlib=libstdc++" 34LIBCPLUSPLUS:armv5 = "-stdlib=libstdc++"
35 35
36CXXFLAGS:append:toolchain-clang = " ${LIBCPLUSPLUS}" 36CXXFLAGS:append:toolchain-clang = " ${LIBCPLUSPLUS}"
@@ -58,8 +58,9 @@ TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mhard-float"
58TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mno-spe" 58TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mno-spe"
59 59
60TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments" 60TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments"
61TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64" 61TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64 -fno-force-enable-int128"
62TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64le = " -mlong-double-64" 62TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64le = " -mlong-double-64 -fno-force-enable-int128"
63TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc = " -mlong-double-64 -fno-force-enable-int128"
63# usrmerge workaround 64# usrmerge workaround
64TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-prefix=/usr", "", d)}" 65TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-prefix=/usr", "", d)}"
65 66
@@ -81,7 +82,7 @@ RUNTIME ??= "gnu"
81#RUNTIME:toolchain-gcc = "gnu" 82#RUNTIME:toolchain-gcc = "gnu"
82RUNTIME:armeb = "gnu" 83RUNTIME:armeb = "gnu"
83RUNTIME:armv5 = "gnu" 84RUNTIME:armv5 = "gnu"
84RUNTIME:powerpc = "gnu" 85#RUNTIME:powerpc = "gnu"
85 86
86TOOLCHAIN:class-native = "gcc" 87TOOLCHAIN:class-native = "gcc"
87TOOLCHAIN:class-nativesdk = "gcc" 88TOOLCHAIN:class-nativesdk = "gcc"