summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* libcxx: Set CMAKE_BUILD_WITH_INSTALL_RPATHKhem Raj2023-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmake 3.22+ is causing install failures e.g. | -- Install configuration: "Debug" | -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1.0 | -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1 | -- Set runtime path of "/mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1.0" to "" | -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so | CMake Error at cmake_install.cmake:88 (file): | file RPATH_CHANGE could not write new RPATH: | | | | to the file: | | /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so | | Call Stack (most recent call first): | /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/build/projects/libcxx/cmake_install.cmake:56 (include) | Apply a workaround by building install time rpaths directly during build time too. Real fix perhaps will be in cmake somewhere. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 85fb0a622e0e9a7b2bb7e7035d66dab90e0432b4)
* spirv-llvm-translator: add explicit branchAnuj Mittal2023-09-081-1/+1
| | | | | | | | Bitbake now shows warnings if branch parameter is not supplied explicitly. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit 4e28225ed669b5ecc35b5e921ae09063fac62280)
* castxml: add branch and switch to using httpsAnuj Mittal2023-09-081-1/+1
| | | | | | | | Github no longer supports fetching using git protocol and bitbake now requires explicit branch. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit b712d7b265d27d388e88ce55b533a8d2d2c260d7)
* clang: don't use lnrRoss Burton2023-09-081-1/+1
| | | | | | | lnr is deprecated, simply use ln -rs instead. Signed-off-by: Ross Burton <ross.burton@arm.com> (cherry picked from commit 0590f78e1516401bfc32873426132262378c1e3a)
* clang: Update to latest on 13.x releaseKhem Raj2023-09-0839-153/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bump minor release to 13.0.1 Drop patch to remove git from PACKAGE_VERSION, this is already eliminated from upstream Following changes are part of this change * 08e3a5ccd952 [IntelJITListener] Fix order in JitListener/multiple.ll * 26e2c97bf14c [openmp] [elf_common] Fix linking against LLVM dylib * eb845520ac3c compiler-rt: Fix arch detection for ppc64le * ec4829efcc94 fixes bug #51926 where dangling comma caused overrun * 73daeb3d507f [CUDA] Make sure <string.h> is included with original __THROW defined. * 3ee9a2b63cfd [Support][mips] Remove unnecessary includes from Memory.inc * 47f53eec6485 [Mips] Add glue between CopyFromReg, CopyToReg and RDHWR nodes for TLS * 914355ee793c [CMake] Re-enable use --gc-sections on OpenBSD * 2ac023cd540a [clang] Omit most AttributedStatements from the CFG * 30c05f43b662 [runtimes] Properly handle the sysroot/triple/gcc-toolchain * a797306b7721 [clang-format] [PR51640] - New AfterEnum brace wrapping changes have cause C# behaviour to change * 0a5ae011cd23 [HIP] Fix test rcom-detect.hip * 1a40203f8e94 workflows: Update lldb workaround to latest version of Mac OS X * 8a93745a7121 Remove "In Progress" text from release notes * 449f3049b507 [GHA] Cancel intermediate builds on PRs * cf15ccdeb6d5 Bump version to 13.0.1 * fd1d8c2f04dd [cte] Release notes for clangd-13 Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d246141aaf71c739d50e32d0c10e12eecf920e45)
* clang: Add patch to handle RISCV multilibsKhem Raj2023-09-082-0/+101
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 27d31ea0ee2c4960f3cb1fbd214e99925d80575a)
* clang_git: disable LLD usageDavid Abdurachmanov2023-09-081-0/+1
| | | | | | | | | | This will resolve issue with SDK relocation. See: https://github.com/kraj/meta-clang/issues/119 Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 68b8f9b2425e54518211e2914064a5dd08c3aec6)
* nativesdk-clang: Fix build when using RUNTIME = llvmKhem Raj2023-09-081-0/+2
| | | | | | | | | | | | | We can not use nativesdk variants of libcxx and compiler-rt yet when compiling nativesdk-clang because, it will need this compiler to build them, so solve this catch-22, since we do not use the runtime built during compiler builds, use libgcc/libstdc++ to pass cmake tests during configure, this should be fine as it will be not needed for final builds where nativesdk-clang will be used, it can still default to llvm runtime on SDK host Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 826f7287ffb8ae87bd843ecfe4a21a661bb03294)
* clang: Update to 13.0.0-rc4Khem Raj2023-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changes in this set * d7b669b3a303 [clang] don't mark as Elidable CXXConstruct expressions used in NRVO * ee6913cc8317 [analyzer] Add 13.0.0 release notes * d0f0b5b99262 Thread safety analysis: Warn when demoting locks on back edges * 80f974e40f81 [AArch64][GlobalISel] Use ZExtValue for zext(xor) when invert tb(n)z * 5b95eb0b442e [debuginfo-test][cross-project-tests] Release note for new project name * b96ee8f581f6 [X86] combineX86ShuffleChain - ensure we only peek through bitcasts to vectors (PR51858) * dda88bfc06b5 [clang][scan-build] Use cc/c++ instead of gcc/g++ on OpenBSD. * 08642a395f23 Fix syntax error in Clang release notes * 6a5ccb2ec438 [compiler-rt] Implement __clear_cache() on OpenBSD/riscv64 * 6aa054242d60 [LLD] Add required `ppc` target to the test cases. NFC * 8d78ac26f475 [OpenMP]Fix PR51349: Remove AlwaysInline for if regions. * d811546f803c [compiler-rt] Move -fno-omit-frame-pointer check to common config-ix * 89f2c0c63c22 [clang] disable implicit moves when not in CPlusPLus * 635b7871de93 [clang-repl] Install clang-repl * 1f27fe612876 -Wunused-but-set-parameter/-Wunused-but-set-variable Add to the release notes Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d236deda20383e66e303399d98544fbcc66155a9)
* clang: use global multilib variantsDan McGregor2023-09-081-1/+1
| | | | | | | | | Using regular multilib variants prevents sharing state between machines with dissimilar multilibs, or non-multilib machines. Since there's no harm in having extra multilib triples, use the full set for all builds. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> (cherry picked from commit 1f40e6439ac7894bf788aa221efc8648d043a0f9)
* spirv-llvm-translator: Use latest revisionsZoltán Böszörményi2023-09-081-2/+2
| | | | | | | Use latest revisions for SPIRV-LLVM-Translator and SPIRV-Headers Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> (cherry picked from commit 11b5b37db1046326b0c0ca067d3f4834d3e5dfe7)
* spirv-llvm-translator: Use the latest commit for SPIRV-HeadersZoltán Böszörményi2023-09-081-1/+1
| | | | | Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> (cherry picked from commit edd9f7e580e02242e08d34d35d808171f79d1fc9)
* clang: Update to latest 13.xZoltán Böszörményi2023-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes up to 13.0.0-rc3 f6b09e394a5f [openmp] Apply code change from D109500 1916a1c578f8 [VPlan] Fix crash caused by not updating all users properly. 2aa67b31faf0 [clang-format] Restrict the special handling for K&R C to C/C++ f1342c749ac0 [LLDB] AArch64 SVE restore SVE registers after expression fbb8b41588be Revert "[AArch64][GlobalISel] Legalize bswap <2 x i16>" 1c198b3032e8 Revert [MC][ELF] Emit separate unique sections for different flags 4728892cd336 [LLD] Support compressed input sections on big-endian targets 77f24308fe78 [X86] Don't clobber EBX in stackprobes 1ff9aa2bfe19 [IR] Handle constant expressions in containsUndefinedElement() 84a3be829686 [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125) bd8cc8543fdc [OpenCL][Docs] Update OpenCL 3.0 implementation status. 9723fc15338e [OpenCL][Docs] Release 13 notes. f53652203e49 scudo: Only add no-omit-frame-pointer flags when the compiler supports them c8d8248488a3 [clang-format] Improve detection of parameter declarations in K&R C 4ab7fe9228db [clang-format] Distinguish K&R C function definition and attribute 748f09fdd5d6 [clang-format] improve distinction of K&R function definitions vs attributes ffd90ed19988 [clang-format] handle trailing comments in function definition detection b685e13d1130 [clan-format] detect function definitions more conservatively e3ec9058aae5 [MemCpyOpt] Fix a variety of scalable-type crashes 718280c8a2d1 [AMDGPU][OpenMP] Use complex definitions from complex_cmath.h Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> (cherry picked from commit b8463aa66767e0c4e6dee3c90d666a8bd47c6766)
* spirv-llvm-translator: Define explicit SRCREV_FORMATKhem Raj2023-09-081-0/+2
| | | | | | | Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 46e154f597b2db2a57a183dadc4a03f59671dde3)
* clang: Update to latest 13.xKhem Raj2023-09-084-108/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop upstreamed patches Brings following changes * Workaround incorre ct types when lowering fixed length gather/scatter * f17d60d62028 Inform pass manager when child loops are deleted * f56129fe78d5 Fine grain control over some sym bol visibility * dc10ff25f54b [AArch64][SME] Fix imm bug in mov vector to tile aliases * b77c810feba0 Revert "[HardwareLoops] Change order of SCEV expression construction for Init LoopCount." * 02dece03f93d [clang] fix transformation of template arguments of 'auto' type constraints * 297e9237db53 [SelectionDAGBuilder] Bugfix in visitInlineAsm() * bc3cbd744d70 [llvm-objdump] Fix 'llvm-objdump -dr' for executables with relocations * 912ad5830cc1 Add llvm-ml to LLVM_TOOLCHAIN_TOOLS (PR50536) * b46abdb7b8fe [clang][Driver] Pick the last --driver-mode in case of multiple ones * 197d9d91aec1 [AArch64][sve] Prevent incorrect function call on fixed width vector * 427df19c4791 Update counter offset to account for binary ids * 09f659449b83 libunwind: add missing break statements in EHABI * a98b397504f8 [SCEV] Fix applyLoopGuards() with range check idiom (PR51760) * 9b3867e959fa [DAGCombine] Prevent the transform of combine for multi-use operand * 49dacda603b3 [tests] precommit tests for D107692 * 8aa8ed9d4b5f Fix for commit d8cd7806310c51af912a647a6ca46de62ff13214. * 2a1d8b5016eb [clang] OpenBSD does not support C11 atomics or threads. * a52b7bf7d123 PR50294: Fix a performance regression from 2c9dbcd. * c30b2813a1d5 [clang] fix error recovery ICE on copy elision when returing invalid variable * 6668e31250ba Support linking against OpenMP runtime on OpenBSD. * be305271bfb6 OpenBSD also needs execinfo * a5e968b66a59 [clang] Allow the OpenBSD driver to link the libclang_rt.profile library. * 181739213aa0 [docs] Update release notes with items related to Flang * c45fa58f171e [libomptarget][amdcgn] Only add opt/llvm-link dependency if TARGET is availab le * 7f3d00c9b49b [libomptarget][amdcgn] Add build dependency for llvm-link and opt * 3b1fa4aef006 [RISCV] Fix reporting of incorrect commutable operand indices * 1c3fcc8ae92e [libc++][NFC] Mark values in gdb pretty print comparison functions as live to prevent values being optimized out. * c8905f1bb304 [Orc] Enable debug object tests only on x86_64 hosts * 7a4a5d413624 [Linker] Support weak symbols in nodeduplicate COMDAT group Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 12c3739c9cc737ceb8a29bf7bbd848d3de4b8d17)
* clang: Fix llvm-link and opt dependency build failure in libompKhem Raj2023-09-085-25/+108
| | | | | | | | | | | | Update to latest 13.x as well * 9e41dc71b8d4 [docs] Mention that the legacy PM is deprecated and will be removed after 14 * 73c36a9be558 [OpenMP][FIX] Allow declare variant to work with reference types * bcb43617cb7f [NewPM] Add missing LTO ArgPromotion pass * 703ee975d26a [AlignFromAssume] Bailout w/non-constant alignments (pr51680) Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4f69b68228f75b6a3f2375a0258fd04f4f67ce70)
* spirv-llvm-translator: switch to release llvm_release_130 branchNaveen Saini2023-09-081-2/+5
| | | | | | | | | Fetching SPIRV-Headers, which provides required spirv.hpp headers https://github.com/KhronosGroup/SPIRV-Headers.git Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> (cherry picked from commit 610c47baddbfb310ffa681cc202211ed4a659e95)
* clang: Update towards 13.x RC2Khem Raj2023-09-0839-40/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert a patch in openmp which added opt dependency, which fails to find opt when ding standalone builds see https://reviews.llvm.org/D107156 Changes in this bump * 34ff6a75f583 [docs] Update release notes for OpenMP 5.1 loop transformations. * 34300c3c00f5 [libc++] Fix incorrect bypassing of <wctype.h> * 198edf09f58e [libc++] XFAIL align.pass.cpp for PowerPC LE * 4094728a8147 [libc++abi] Apply simplify scan_eh_tab to SjLj * 4e692c97a8c1 [LoopIdiom] Don't transform loop into memmove when load from body has more than one use * c22eb9a4a5dd [NFC][LoopIdiom] Add reproducer of wrong memmove transformation * d069343fa526 Revert "[RISCV] Fix reporting of incorrect commutable operand indices" * 1828e57eb586 ThinLTO: Fix inline assembly references to static functions with CFI * 7161e4f3345f [clang-tidy] Hotfix default parameter value in 'bugprone-easily-swappable-parameters' * a7933290f72a [RISCV] Fix reporting of incorrect commutable operand indices * c9afa3a749f0 [Coverage][llvm-cov] Correctly export branch coverage in LCOV format * e8ce80e31d93 [profile] Don't use pragma comment linker on mingw * 4f857ea56b4f [profile] Add underscore to /alternatename for Win/x86 * d3d9dc586933 [profile] Build with -fms-extensions in MinGW mode * cf035cac186b [scudo][standalone] Link tests against libatomic if libatomic exists * 1f0b043ae709 [libomptarget] Apply D106710 to amdgcn devicertl * ab2d8f074974 [libomptarget][amdcgn] Add build dependency for opt * 3020229e73ec [clang] Replace asm with __asm__ in cuda header * d6944303acfd [openmp] Annotate tmp variables with omp_thread_mem_alloc * 47bbdbecb039 [AMDGPU][OpenMP] Wrap amdgcn declare variant inside ifdef * 573858e9805e [AMDGPU][OpenMP] Use llvm-link to link ocml libraries * 512c57ea97ae [OpenMP][AMDGCN] Initial math headers support * d1923cb0aec2 [AMDGPU][OpenMP] Support linking of math libraries * 7f2f829479dc Revert sharing subprograms across CUs * ae5ed5d23bb1 [libc++] Bypass calling exception-throwing functions in the dylib with -fno-exceptions * 23ba3732246a [libc++][PowerPC] Fix a test case failure when compiled with libcxx * 80878ccb3286 [libc++] Fix XFAIL annotation * 10a4a861837d [lldb] Add tests for TypeSystemMap::GetTypeSystemForLanguage * 535b7fb2201a [lldb] Avoid unhandled Error in TypeSystemMap::GetTypeSystemForLanguage * ddc49d0f1f2b [clang] [MSVC] Implement __mulh and __umulh builtins for aarch64 * 34f839fc9d4c Revert "[clang][fpenv][patch] Change clang option -ffp-model=precise to select ffp-contract=on" * b643ee1b9c1a [AArch64] Fix comparison peephole opt with non-0/1 immediate (PR51476) * 98feb20df14e [profile] Only use NT_GNU_BUILD_ID if supported * fcd5126bfba8 [X86][AVX] Extract SUBV_BROADCAST constant bits from just the lower subvector range (PR51281) * f3e1d94de69d [ARM][atomicrmw] Fix CMP_SWAP_32 expand assert * 15b8be0b832a [libc++] Skip logic for detecting C11 features when using_if_exists is supported * 404024f9adc1 [libc++] Split off tests for aligned_alloc & friends into separate test files * c40c3bfa9a87 [libc++] Convert test-suite workarounds for some C11 features to XFAILs * 0c25e0174861 [Flang] Fix build failure on MacOS * 2e4c11ee3209 [PowerPC] Disable CTR Loop generate for fma with the PPC double double type. * 08dd644d078a ReleaseNotes: add lld/ELF notes * 2153cad11ba2 [DAGCombiner] Stop visitEXTRACT_SUBVECTOR creating illegal BITCASTs post legalisation. * 87d56ad4411d [LLD] [MinGW] Add more options for disabling flags in the executable * b9be17a7ecf9 [clang] fix crash on template instantiation of invalid requires expressions * d86e569e8119 [clang] [hexagon] Add resource include dir * 24d8b6565a2e [Attributor][FIX] Guard constant casts with type size checks * 5b60faae3f10 [InstCombine] avoid infinite loops from min/max canonicalization * f4006c59497d [InstSimplify] fold min/max with limit constant * ba048518e08f [InstSimplify] add tests for min/max idioms; NFC * 0dd4f002e1d3 [OpenMP]Fix PR50336: Remove temporary files in the offload bundler tool * a57d98111e63 [LoopVectorize] Improve vectorisation of some intrinsics by treating them as uniform * 740f08210e5d [NFC] Clean up tests in test/Transforms/LoopVectorize/assume.ll * 1bbe8ef81549 [lld-macho] Fill out release notes for 13.x Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 5187604e18b970e486b88e6f2eba6a454ef4f7ef)
* clang: Update to latest on 13.xKhem Raj2023-09-081-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit ccd1a48d2719a88c64caa065c9ea689076710b43)
* clang/compiler-rt: Convert to new override syntaxKhem Raj2023-09-083-3/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 45a3707291a4e8bd2469b0d2bb9cf9e07878ae08)
* clang: Update to latest on 13.x release branchKhem Raj2023-09-0838-97/+141
| | | | | | | Fix libcxx/locale builds on musl Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f9c73c7cbcce9d7b549fbec5d814a432125c876c)
* recipes: Fix remaining override conversionKhem Raj2023-09-081-3/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 1fbf558d6ff699ae0c8b60ad8313515367e83898)
* meta-clang: Convert to new override syntaxSigned-off-by: Martin Jansa2023-09-0812-144/+144
| | | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 17737cc4ecd3aea2c978bf83e283bcb08d097487)
* clang: Update to latest 13.x branchKhem Raj2023-09-081-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 527f628b7d9bbfe8d3fbe743e876d30c4545a71a)
* compiler-rt,libcxx: Fix native builds when using RUNTIME=llvmKhem Raj2023-09-082-0/+7
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit e85ba2ec1b2aebbf66ac48f9bd43c22f23a8fcc2)
* clang: Switch to 13.x branchKhem Raj2023-09-081-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 82fdd8d7bf4bcd77fd52583400803224efd7e9f2)
* libcxx: Explicitly set LLVM_DEFAULT_TARGET_TRIPLEKhem Raj2023-09-081-0/+2
| | | | | | | | | | This helps during cross-compile as new clang expects this to be set or else it deduces it and that deduction can go wrong. See commit 395271ad11b8c233db1a4e0e6a76aa52e93e5aec in clang repo Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit b224c4148f46c4dd326d2b72a9c1d55c364ed48f)
* libclc: Drop using -cl-no-stdincKhem Raj2023-09-081-1/+0
| | | | | | | This flag is no longer needed with latest clang-13 Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 5e3f7c2fd647ae9552a19f679f37260fc5ebecff)
* clang: Upgrade to latest on trunk/13.0Khem Raj2023-09-081-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit c6237ecf3e36eea143607a2cd7164c9eba70d466)
* clang: fix do_package error when multilib enabledChangqing Li2023-09-081-2/+2
| | | | | | | | | | After enable multilib, libdir is /usr/lib64, but in llvm's CMakelist.txt, the install path is hardcode as /usr/lib eg: ${CMAKE_BINARY_DIR}/lib/libscanbuild/resources/${resource} Signed-off-by: Changqing Li <changqing.li@windriver.com> (cherry picked from commit f42c4297dde21787ee6873f33636617e1d562798)
* clang: Update to latest on 13.0.0/trunkKhem Raj2023-09-0838-193/+83
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 81119d8315050c422872c918bb576239ba71bf05)
* clang: drop git suffix from version variablesChangqing Li2023-09-082-0/+71
| | | | | | | | | | | | other recipe like intel-graphics-compiler, config failed with below error: [IGC] Could not find the LLVM dylib. Aborting. with a suffix in library name make other recipe cannot found it. Backport a patch from 12.0.0 to fix this. Signed-off-by: Changqing Li <changqing.li@windriver.com> (cherry picked from commit 95c264e9bbb36eb0ea043c2f016ccb1334d5396c)
* libcxx: Fix native buildKhem Raj2023-09-081-4/+7
| | | | | | | | | | | | | Use libgcc with clang-native to compile it Fixes #465 Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4d066667c3cbba3b88d2f8d6c5640f5f793d10b4) Conflicts: - recipes-devtools/clang/libcxx_git.bb: Commit 93552c79eed5daa44a24bf4b7a063a2ade739e97 had some of the changes already.
* openmp: Fix build on non-x86 targetsKhem Raj2023-09-082-0/+122
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit b9c9325d65fdcc6a1bfdb15b538c7454894ce15f)
* spirv-llvm-translator: Update to latest trunkKhem Raj2023-09-081-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 9c84711bbf8ff21e4276fb59d0e858fc3983155e)
* clang: Update to latest on main/13.0 lineKhem Raj2023-09-082-1/+3
| | | | | | | Package new content for scanbuild and libear Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 50e25bfa72a14b2b156964828995873fdc70da60)
* spirv-llvm-translator: Remove a trailing slash from SRC_URIRobert Yang2023-09-081-1/+1
| | | | | | | | | | | The trailing slash caused the mirror name endswith a dot which looks strange: github.com.KhronosGroup.SPIRV-LLVM-Translator. The slash is not needed, so remove it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> (cherry picked from commit 5455c65e37bd0e881aad8fc318beb6d0a4469703)
* clang: Update to latest master/13.0Khem Raj2023-09-0837-93/+51
| | | | | | | Drop 0024-compiler-rt-Include-stddef.h.patch its accepted upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 2b5f122e57697b972bc1b65ea7dbb015a9303d11)
* clang: Upgrade to latest on main/13.0 branchKhem Raj2023-09-0837-59/+106
| | | | | | | | Fix compiler-rt build on armv6 reported in https://github.com/YoeDistro/yoe-distro/issues/555 Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 23729bb8200838f3e0d7a73510cf41a05256ed3c)
* clang: Update to latest on master branchKhem Raj2023-09-0835-63/+61
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 040ec88b95679a953bf63461f73700246ed34eef)
* compiler-rt-sanitizers: Fix hwsan builds with llvm libunwindKhem Raj2023-09-082-0/+36
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit e9a764eac78f6099d34dd9ce8faae906b3fa6b4c)
* Package libunwind independentlyKhem Raj2023-09-081-2/+4
| | | | | | | This helps in ensuring it pose as RPROVIDES when llvm runtime is used Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit cee6adcb98ed39a30b6def6c4ab6d3965854178a)
* libunwind: Implement unw_backtraceKhem Raj2023-09-082-0/+56
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d45403baedd7ae7755a02cfe0205000b760167bd)
* libunwind: Install headers and pkgconfig fileKhem Raj2023-09-083-0/+21
| | | | | | | | This ensures it can replace nongnu libunwind Use it only when selecting RUNTIME = "llvm" Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit c48de926ac54802df7e1e4b7f91caa4fa4ef45b1)
* compiler-rt-native: Fix build with clangKhem Raj2023-09-081-0/+10
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 9c8347351565ba4ea0b31e92cf55b29811372285)
* libcxx: Build undwinder when RUNTIME = "llvm"Khem Raj2023-09-081-1/+5
| | | | | | | | ensure that libcxx can be built when RUNTIME = "llvm" as it might need to pass some cmake compiler tests Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit a0a318157ca0555b0d6e20028dcb7e3e3f3c08c6)
* compiler-rt-sanitizers: Use packageconfig to use static libcxxKhem Raj2023-09-081-6/+3
| | | | | | | | | | | | | | sanitizers can link libc++/libc++abi statically or dynamically, we default to use dynamic version but leave the option to enable static linking if so needed Use virtual/crypt to represent crypt implementation which becomes libc independent Fix dependencies for native recipes Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f4bb299c409128801e68c30187381fadeb0a451d)
* compiler-rt: Use gcc runtime to bootstrapKhem Raj2023-09-081-3/+7
| | | | | | | | | | | | | | | while compiler-rt may not use any of these libraries, but the cmake environment pokes for working compiler, linker and other tools, this ensures that it can build when RUNTIME = "llvm" and also RUNTIME = "gnu" Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 7f431875e4edc2a11a9881714e4845efeee54f77) Conflicts: - recipes-devtools/clang/compiler-rt_git.bb: Commit 93552c79eed5daa44a24bf4b7a063a2ade739e97 had already backported parts of this commit.
* clang: Default to compiler-rt/libcxx/libunwind when RUNTIME = "llvm"Khem Raj2023-09-081-5/+9
| | | | | | | | | | | | | This ensures that compiler defaults are defaulting to llvm provided c/c++ runtimes which includes c-runtime, c++runtime, unwinder and omp runtime, current approach is to inject commandline options but it does not get passed in all cases and a lot of smaller/big patches are used to make such package recipes behave If RUNTIME = "gnu" then defaults stay to use gcc runtime as it is Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit e4edc914cd17d31c1c55733db942e3d5da3b0b56)
* libcxx: Build libunwind shared lib when enabledKhem Raj2023-09-081-10/+7
| | | | | | | | Use compile-rt consistently across when building libc++ and libc++abi and libunwind Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 78acb4ae02352d543b0343b2dba411dc521acd0a)