summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lld: Do not use libcxx for native and nativesdk variantsclang-7.0Khem Raj2018-09-091-2/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upm: Dont use -no-integrated-asKhem Raj2018-09-091-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* build native lld along with cross clangKhem Raj2018-09-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Disable generating libcxx.so as script for native and nativesdk caseKhem Raj2018-09-091-1/+3
| | | | | | | | This confuses the libcxx build system and it tries to edit rpaths in .so files and fails miserably on libcxx.so if it is a linker script Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-core-standalone-sdk-target: Make clang runtime as RRECOMMENDSKhem Raj2018-09-091-1/+1
| | | | | | | As suggested in Issue #23 this will make sure we can override it with BAD_RECOMMENDATIONS Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup: Consider the fact that clang is not there for riscv64 yetKhem Raj2018-09-092-3/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Mark incompatible for riscv64Khem Raj2018-09-091-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perf.bbappend: Add clang-cross dep only when using clang as default compilerKhem Raj2018-09-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* disable linunwind for risv64Khem Raj2018-09-091-0/+1
| | | | | | RISC-V support in clang is missing for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* disable -Wembedded-directive for memcachedKhem Raj2018-09-091-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xdelta3 is compiled with -Wno-error=reserved-user-defined-literalKhem Raj2018-09-091-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3: Mark non clangable, since it can't buildKhem Raj2018-09-091-0/+4
| | | | | | Needs some work to get FDO working Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Disable asm on x86/64 with clangKhem Raj2018-09-091-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Disable llvm libunwind on ppcKhem Raj2018-09-091-1/+2
| | | | | | | | It fails to build libunwind/src/UnwindRegistersSave.S:561: Error: unrecognized opcode: `extern' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Create lib/linux only if there is content to move to itKhem Raj2018-09-091-3/+4
| | | | | | | Fixes builds where there are no files inside ${D}${libdir}/linux but the empty dir is still created Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Provide <prefix>-llvm-profdate in cross crosssdk and cross-canadian clangKhem Raj2018-09-093-3/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Package /usr/share into dev packageKhem Raj2018-09-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Upgrade to clang 7.0.0 Release (rc2)Khem Raj2018-09-0924-193/+207
| | | | | | | | | | | | | | | | | - Update compiler-rt/llvm/clang/lld licence checksums Triggerred due to copyright year update to 2018 Add libunwind and libcxxabi license to checksum list too - Switch to https protocol for fetching from github - Fix _finite functions on musl - Package new .so files built with clang - package libLLVM-${MAJOR_VER}.so as well since llvm-7 generates it without MINOR_VERSION Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Use pre-computed size of struct ustat for LinuxHongxu Jia2018-09-092-0/+65
| | | | | | | | | | | | | | | <sys/ustat.h> has been removed from glibc 2.28 by: commit cf2478d53ad7071e84c724a986b56fe17f4f4ca7 author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Sun Mar 18 11:28:59 2018 +0800 Deprecate ustat syscall interface This patch uses pre-computed size of struct ustat for Linux to fix https://bugs.llvm.org/show_bug.cgi?id=37418 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
* libcxx: Add libunwind to PACKAGECONFIGMichael Davis2018-07-101-16/+16
| | | | | | | Allow libunwind to be turned off and on using PACKAGECONFIG Default to ON Signed-off-by: Michael Davis <michael.davis@essvote.com>
* packagegroup-core-standalone-sdk-target: Include libcxx and compiler-rt even ↵Khem Raj2018-07-081-1/+1
| | | | | | | | when clang is not default compiler Fixes issue #63 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang/compiler-rt/libcxx: Update to latest release_60 branchKhem Raj2018-07-061-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix sigsegv of llvm-config on the targetRicardo Ribalda Delgado2018-05-301-0/+3
| | | | | | | llvm-config is, by default, broken by the SSTATE_SCAN_CMD. This patch removes llvm-config from SSTATE_SCAN_FILES. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* clang: Add package config for shared-libsMichael Davis2018-05-291-3/+4
| | | | | | Allow shared or static libs to be selected by package config. Default to shared. Signed-off-by: Michael Davis <michael.davis@essvote.com>
* systemd-boot: Adjust for meson build systemKhem Raj2018-05-281-1/+1
| | | | | | | systemd has now switched to using meson as primary build system in OE Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix driver segfault with very long commandlineKhem Raj2018-05-202-0/+57
| | | | | | This is triggerred with webkit linking commands Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scan-build.bbclass: Rename tasksKhem Raj2018-05-171-13/+13
| | | | | | | buildscan -> scanbuild viewscan -> scanview Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_60Khem Raj2018-05-171-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Enable GNU assmebler for db and libffiKhem Raj2018-05-171-0/+9
| | | | | | | These packages can not build with internal assembler on armv7/thumb2 yet. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Drop -D__extern_always_inline=inlineKhem Raj2018-05-171-1/+1
| | | | | | | | | It was a workaround which was supposed to go away one day and that day has arrived We should fix the packages if they need such a workaround Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: include staticdev into SDKKhem Raj2018-05-151-0/+2
| | | | | | This helps statically linking C++ programs when building with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Let dev package rdep on staticdev packageKhem Raj2018-05-151-0/+3
| | | | | | | | | Let dev package be empty, this should solve the dependency issues when generating SDKs Fixes #51 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scan-build: Change pwd to B for buildscan taskKhem Raj2018-05-151-2/+3
| | | | | | | Drop -C <src> from make invocation this helps in making it more generic Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scan-build.bbclass: Do not depend on clang-nativeKhem Raj2018-05-151-20/+20
| | | | | | | | | | - Dependency on clang-native causes circular dependency - Use spaces instead of tabs in shell functions - Convert do_configure_prepend into a prefunc, makes it work with non-shell do_configure - Use TARGET_CC_ARCH instead of HOST_CC_ARCH Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scan-build: Add mechanism to run static analysis using clangKhem Raj2018-05-151-1/+55
| | | | | | Implements issues #44 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use python2 for scan-viewKhem Raj2018-05-152-0/+28
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Link with libatomic and libmKhem Raj2018-05-133-127/+2
| | | | | | | | | | on x86 it fails to link with this error https://lists.freedesktop.org/archives/mesa-dev/2017-May/155499.html and libm is needed for | /usr/src/debug/mesa/2_18.0.2-r0/build/src/util/../../../mesa-18.0.2/src/util/rounding.h:108: undefined reference to `lrintf' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Disable sanitizers on mips32Khem Raj2018-05-131-0/+1
| | | | | | | | They fail to compile error: 'assertion_failed__73' declared as an array with a negative size Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld: Update to latest on release_6.0 branchKhem Raj2018-05-121-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Drop a workaround to build for aarch64Khem Raj2018-05-122-39/+1
| | | | | | | | | | | | | | | | | This workaround seems to no longer be needed for clang6.0 onwards as a bonus, the regressions for compiling for other arches is also gone since we drop this patch. Fixes issue #57 Fixes issue #52 Use internal assembler This fixes the issue reported here https://reviews.llvm.org/D35696 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.inc: Match the formatting to rest of assignmentsKhem Raj2018-04-271-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.inc: Bump patch version for 6.x releaseKhem Raj2018-04-271-1/+3
| | | | | | Helps with issue reported in #56 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pseudo: Mark as non-clangableKhem Raj2018-04-241-0/+7
| | | | | | GCC extensions such as __builtin_apply will not be in clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Do not link with -lssp when using -fstack-protectorKhem Raj2018-04-218-26/+25
| | | | | | This is provided by libc both (musl and glibc) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add libssp-nonsharedKhem Raj2018-04-211-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Drop setting NINJA_STATUSKhem Raj2018-04-196-14/+14
| | | | | | This is no longer needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld,lldb: Update to latest on release_60Khem Raj2018-04-191-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Set theme jekyll-theme-caymanKhem Raj2018-04-121-0/+1
|
* layer.conf: Define LAYERSERIES_COMPATKhem Raj2018-04-111-0/+1
| | | | | | Its required now from Sumo release onwards Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: enable support for BPF targetDaniel Díaz2018-04-111-1/+1
| | | | Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>