| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
with clang-14 more packages are now buildable from the exlcusion list,
therefore enable clang for them.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
exporting them changes signatures of the tasks for all recipes
includeing native ones, so when meta-clang is not used it ends up
building all native recipes too. Defining these variables is good
enought for clang to see them in do_compile shell for target recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
openmp is not ported for ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
ppc is not yet supported by openmp
see https://github.com/llvm/llvm-project/blob/main/openmp/runtime/cmake/LibompGetArchitecture.cmake#L16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These variables are used during target package compiles in packages
which user llvm-config e.g. libclc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
If they are set by recipe in env, respect that
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful when using clang cross compiler and the packages rely on
llvm-config to detect paths and various attributes of clang/llvm install
Update to latest on 14.x as well
* 3f43d803382d [libc++] Re-enable workaround for pre-ranges CTAD in std::span
* add3ab7f4c8a [libc++] Add workaround to avoid breaking users of <span> when <ranges> are disabled
* 329fda39c507 NFC: Mention auto-vec support for SVE in release notes.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
LLVM_LIBDIR_SUFFIX is already computed fine in clang.inc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This ensures that multilib prefix is respected in dependencies and can
be handled when distro enables multilib
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This ensures that signature of do_patch does not change between multilib
and non-multilib builds of clang-native, this essentially hardcodes the
multilib variants to lib32 lib64 libx32 which is 99.9% usecase, if you
fall into 0.1% then go ahead and modify MULTILIB_VARIANTS in a bbappend
file and it will be fine.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
When RUNTIME=="llvm" the libcxx entry will be added in a separate if clause
right after this. We don't need it twice.
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang14 crashes compiling 1.44 version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
it will take some effort to fix it going with clang 14
due to VSX/altivec intrinsics conflicts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings in these changes
* 69ba522c58d0 [Hexagon] Fix crash with shuffle_vector of v128f16
* ac3398a0b003 Revert "[CMake] Include runtimes test suites in check-all"
* df2fcea78fb8 Revert "Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases"""
* 893b864cb855 Revert "GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs"
* a9415df334f0 Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases""
* e54a7bf0c0f1 [CMake] Include runtimes test suites in check-all
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Workaround qemuppc illegal instruction trap on vxor instruction emulation
this instruction is emitted by clang with -mcpu=7400 on ppc32 when
compiling musl/strspn.c file
The crash shows up running qemu-ppc via gobject-introspection, so a long
unwieldy path but we know whats happening
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
ppc32 build fails, disable for now
NativeThreadLinux.cpp:(.text._ZN12lldb_private13process_linux17NativeThreadLinuxC2ERNS0_18NativeProcessLinuxEy+0x84): undefined reference to `lldb_private::process_linux::NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux(lldb_private::ArchSpec const&, lldb_private::process_linux::NativeThreadLinux&)'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Disable LuaJIT on rv64 since its not yes ported
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
llvm versions have a known bug
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This is to workaround issue [1] seen with LLVM mips
[1] https://github.com/llvm/llvm-project/issues/54213
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit a6cea51ab2b0923340012655ac0f13afba899e57.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 65d53279b1fd RISCV] More correctly ignore Zfinx register classes in getRegForInlineAsmConstraint.
* f1e7f848bf3e [clang][tests] Fix ve-toolchain tests with CLANG_DEFAULT_UNWINDLIB
* 6d5afef3a7e6 [examples][BuildingAJIT] Use the right layer when adding code in Chapter 3.
* 4fde843cd5c0 [ORC] Set ResolverBlockAddr in EPCIndirectionUtils::writeResolverBlock.
* a98c04d58930 [Attributor][FIX] Use liveness information of the right function
* 261253aa60cc [Clang][docs] Add preprocessor changes to ReleaseNotes.
* 967296bfefee [RISCV] Fix inline asm errors in zfinx
* 4c9110a5f37b [MIPS] Recognize DT_MIPS_XHASH dynamic table tag
* ce3d57ad61db Revert "[BPF] Fix a BTF type pruning bug"
* 19149538e9a9 [BPF] Fix a BTF type pruning bug
* da33d400682a [SLP] Don't try to vectorize pair with insertelement
* 3001b0d51963 [fir] Fix FlangOptimizerTests link on Solaris
* 41d4f89e38b7 [X86ISelLowering] permit BlockAddressSDNode "i" constraints for PIC
* d245bcf536a3 [Mangler] Mangle aliases to fastcall/vectorcall functions correctly
* 0372676278dd [AArch64][SME] Remove term 'streaming-sve' from assembler diagnostics.
* f58ab3285021 [Attributor][FIX] Pipe UsedAssumedInformation through more interfaces
* 4327d39b15b2 [libcxx] Add an explicit option to build against system-libcxxabi
* 3d913ec92308 [llvm] [cmake] Fix finding modern ounit2
* b3e9abd9683b [libunwind] Further fix for 32-bit PowerPC processors without AltiVec
* d09f84adff1e [compiler-rt] Force ABI to libcxxabi when building cxustom libc++
* e08bab88c900 [Driver][DragonFly] -r: imply -nostdlib like GCC
* 21f87ad9f590 [Driver][NetBSD] -r: imply -nostdlib like GCC
* 779871c3515a [mlir-tblgen] Fix non-deterministic generating static verifier in DRR.
* 4de8e5698278 [RISCV] Fix parseBareSymbol to not double-parse top-level operators
* b29813fbbbaf [OpenMP] Use executable path when searching for lld
* 14c432b6a17a [OpenMP] Add search path for llvm-strip
* 453361d5ac01 [DSE] Fall back to CFG scan for unreachable terminators.
* 03cf88fc94da [DSE] Extract a common PDT check (NFC)
* ee0ae47691d3 [RISCV] Avoid infinite loop between DAGCombiner::visitMUL and RISCVISelLowering::transformAddImmMulImm
* 61e78c64a38a [libunwind] Only include cet.h if __CET__ defined
* 5f5b687460c3 Fix warning introduced by 47eff645d8e873ba531014751c1c06a716a367e9
* 64534d2f406c [InstCombine] Bail out of load-store forwarding for scalable vector types
* 4fe93c000b20 [SLP] Fix assert from non-constant index in insertelement
* a2398c560144 [Driver][OpenBSD] Enable unwind tables on all architectures
* aadd03a2accd [clang][ASTReader] Fix memory leak while reading FriendTemplateDecls
* 8a323ada234b [clang][SemaTemplate] Fix a stack use after scope
* d61805a8b686 [libc++] Fix double file closing in `std::filesystem::remove_all()`.
* f8ca5fabdb54 [ELF][X86] Don't create IBT .plt if there is no PLT entry
* 8400036358c8 [libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie
* df3182a7df19 [clang] [test] Skip hip-fpie-option.hip if default-pie
* cdd8cca0c33c [ELF] Support some absolute/PC-relative relocation types for REL format
* e89602b7b2ec [clang-tidy] Fix `readability-suspicious-call-argument` crash for arguments without name-like identifier
* 1f7e8b1c6893 [Docs] Added note about LLDB Win/Arm64 binary release
* bdbca8f3d0b2 [asan][test] asan_prelink_test.cpp: use -fno-pie -no-pie
* 3e10605abcb2 [Driver][test] Remove soon irrelevant pie tests
* 2a492dfd6b4e [Driver][test] Make hexagon-toolchain-elf.c work with CLANG_DEFAULT_PIE_ON_LINUX=on
* 443f68c280ac [clang][test] Make mips-vector-return.c work with CLANG_DEFAULT_PIE_ON_LINUX=on
* 500889f56bce [MIPS] Add `-no-pie` option to the clang driver's tests depend on it
Drop 0036-Avoid-infinite-loop-between-DAGCombiner-visitMUL-and.patch
which is upstreamed now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
See https://github.com/meta-qt5/meta-qt5/pull/453
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround for clang crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This reverts d5219d8 and 24e8c73 since clang has been fixed now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport a fix to avoid compiler hangs on RISCV [1]
This brings following changes
* 2fe5bf57172c [Driver] Use libatomic for 32-bit SPARC atomics support
* 46266b3518b6 [mlir][sparse] Rename index_t to index_type again
* 03d9a4094763 [AArch64][SVE] Fix selection failure during lowering of shuffle_vector
* 8b5b29c4c2c5 Fix incorrect TypeSize->uint64_t cast in InductionDescriptor::isInductionPHI
* 8c33ea3ab0ef [SVE][CodeGen] Bail out for scalable vectors in AArch64TargetLowering::ReconstructShuffle
* 1362f8bdfce7 [AArch64][SVE] Fix selection failure caused by fp/int convert using non-Neon types
* 88f8980a4d95 [AArch64][SVE] Add structured load/store opcodes to getMemOpInfo
* cefe6876d6e5 [llvm-objcopy][COFF] Fix section name encoding
* 3367c24735c3 [COFF] Move section name encoding into BinaryFormat
* 9672d11441fd [MLIR][Presburger] Disambiguate call to floor
* 08ad9ae10f32 [InstSimplify] Strip offsets once in computePointerICmp()
* 5593af72d0c5 [Attributor][FIX] Heap2Stack needs to use the alloca AS
* b3d3501aa128 [OpenMP][FIX] Eliminate race on the IsSPMD global
* 9bf8897c84f7 [OpenMP] Add RTL function to externalization RAII
* 56ac6dbc7369 [RuntimeDyld] Fix building on OpenBSD
* fef110bf8b2b [clangd] Fix building SerializationTests unit test on OpenBSD
* 13fdc7afa856 [Attributor][FIX] Reachability needs to account for readonly callees
* f3cfaf8bc8eb [MemoryBuiltins][FIX] Adjust index type size properly wrt. AS casts
* c06cc1c3a7f8 [libc++] Fix std::__debug_less in c++17.
* 7d8e83dab37a [funcattrs] check reachability to improve noreturn
* e1b3afbbdef1 [SLP] Simplify indices processing for insertelements
* 1e340705f142 [PowerPC] Add default handling for single element vectors, and split/promote vNi1 vectors.
* 908c1bae6e7f [RISCV] Fix incorrect extend type in vwmulsu combine.
[1] https://github.com/llvmbot/llvm-project/pull/95
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround Clang14 crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang14 is currently crashing in optimizers, therefore workaround it by
using -O0 for now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
There are missing features in llvm-objdump especially for gnu-hash
sections for mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
do_populate_sysroot will execute the cross STRIP as part of the
processing. In non-clang builds this is present via POPULATESYSROOTDEPS
pulling in binutils, but in clang builds STRIP is set to llvm-strip which
obviously isn't part of binutils.
Set POPULATESYSROOTDEPS correctly to ensure that do_populate_sysroot has
the strip binary available.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
| |
its not going to be backward ABI compatible with honister due to variable renaming.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Enable riscv64 as the support is now available
this update is needed for it to work with clang14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These tools are better integrated with clang produced output consumption
pipeline, therefore use them when using clang as compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This is until upstream bugs are fixed, linux-firmware change however is
legit and will be permanent
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 42a797ef011b [ELF] Fix .strtab corruption when a symbol name is empty
* 4dc3cb8e3255 ReleaseNotes: add BOLT subsection
* 192d9680c1b1 [RISCV] add the MC layer support of Zfinx extension
* 1e348e6042fc [OpenCL] Guard atomic_double with cl_khr_int64_*
* 880717cc801d clang-analyzer plugins require LLVM_ENABLE_PLUGINS also
* 9bc22aa50780 [OpenMP][CUDA] Refine the logic to determine grid size
* ecdd25c86511 [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM.
* b0ae8076cf4c [SDAG] enable binop identity constant folds for fmul/fdiv
* 6311bae1b424 [X86] Add test cases for fmul/fdiv with select.
* 812894f74a8a [runtimes] Move warning messages for FOO_SYSROOT & friends above their default value
* c561bf0daa95 [runtimes] Add release note for deprecation of FOO_SYSROOT & friends
* 8b10e0a84047 [runtimes] Deprecate FOO_SYSROOT & friends
* 89309e187631 [lld] One more formatting fix for the release notes
* 9e1f13d14e19 [lld] Fix RST formatting in release notes
* 5264342c242b [Docs][OpenCL] Update OpenCL 3.0 status in docs.
* e8712accba11 [Docs][OpenCL] Release 14 notes.
* b54c95790b8a [Docs] Release 14 notes for SPIR-V in clang.
* fc2dbf90d12a [libc++] Mark test as unsupported with apple-clang
* edf64474d662 [ELF][PPC64] Fix assertion failure for branches to hidden undefined weak for -no-pie
* 2fc17e919f0c [libc++] Temporarily silence failing debug mode test
* dfc24b8522ba [libc++][NFC] Work around false positive ODR violations from ASan.
* 199e05e34bb8 [libc++] Add missing UNSUPPORTED for the has-no-incomplete-ranges test
* 7fdca71be63a [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES.
* e493f08f8222 [lld-macho] Fill out release notes for 14.x
* ea97fc6b564e [OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actually not aligned
* 062111fe8073 InferAddressSpaces: Fix assert on inferred source for inttoptr/ptrtoint
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
These provide the cross tool prefixed with CROSS_COMPILE tuples
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
for riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: yangpeng1995 <1336781165@qq.com>
|
|
|
|
|
|
| |
This version supports llvm main, llvm 13.x, and llvm 14.x.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
latest opensbi seems to build fine now a days
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
When building libunwind, install new headers which are refactored from
unwind.h in clang 14.0.0 onwards
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Drop upstreamed patch 0001-Remove-APInt-APSInt-toString-std-string-variants.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|