summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang
Commit message (Collapse)AuthorAgeFilesLines
* backport: clang-3.9: Remove unneeded flags for targetKhem Raj2016-09-071-10/+10
| | | | | | | | | | | | | This commit cherry-picks bf0a01851fb7cd8d66a23cef0f69df519c085eff from master to krogoth. TUNE_CCARGS is an SSTATE variable and it must not used so that it becomes builder specific. Builder specific TUNE_CCARGS makes the SSTATE checksums to change and it invalidates the SSTATE cache if used via SSTATE_MIRROR. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
* clang: Fix AEABI helper calling convention for musl targetsDominic Sacré2016-06-142-0/+52
| | | | | | | | AEABI floating point helper functions always use AAPCS (soft-float) calling convention. Recognize MUSLEABI targets to fix the code generated for musl-based hard-float builds. Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
* clang: Fix target triple detection for muslDominic Sacré2016-06-141-1/+1
| | | | | | | Change detection order so that "musleabihf" etc. are recognized as such, and not just as plain "musl". Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
* clang: don't depend on native perl or pythonRoss Burton2016-05-271-1/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang_git.bb: Add dep on clang-native to clangDmitry Rozhkov2016-05-161-0/+1
| | | | | | | Otherwise llvm-tblgen cannot be found if clang happens to be built before clang-native. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
* compiler-rt: Add missing deps on gcc runtimeKhem Raj2016-05-111-6/+9
| | | | | | | Check for directory ${D}${libdir}/linux before operating on it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build with OE target tripletsKhem Raj2016-05-103-2/+70
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: backport -I= supportDaniel McGregor2016-05-102-0/+100
| | | | | | | | | | This solves some clang issues. A few recipes rely on gcc's -I= syntax. This is a backport of the feature to the 3.8 branch. It's already in 3.9. See https://llvm.org/bugs/show_bug.cgi?id=26965 Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* clang: use 64bit long double on ppc/muslKhem Raj2016-05-102-0/+28
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix build for 64bit targetsKhem Raj2016-05-102-0/+67
| | | | | | | | | | ldso was not as per OE norms when building for 64bit machines. This patch makes the baselib point to /lib and fixes the issue it also means that the apps wont work for mutlilib where baselib != /lib Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix ldso for musl based systemsKhem Raj2016-05-102-19/+31
| | | | | | | | | Existing patches were fine however it was resetting the ld.so since we were following through the musl case and subsequent flow would overwrite the computed value of ldso Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build when blacklist files are installedKhem Raj2016-05-091-4/+8
| | | | | | | | | | We build with COMPILER_RT_STANDALONE_BUILD=1 and that makes the install locaiton to be /usr and not something clang verison specific in /usr/lib so we have to manually move the bits to proper location after regular install Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Add missing dep on libcKhem Raj2016-05-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-libs: Fix build on x86_64 and use gcc for all cross recipesKhem Raj2016-05-082-13/+17
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-cross: Remove dep on libc-for-gccKhem Raj2016-05-061-1/+1
| | | | | | | | We do not need libc to build clang Add dep on clang-cross when building musl with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Adjust to build master recipes as wellKhem Raj2016-05-022-5/+23
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang: Move to tip of 3.8 branchKhem Raj2016-04-301-8/+8
| | | | | | | Make the SRCREV, PV, BRANCH weak assignments so they can be overridden Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix indentation and return code from loopsKhem Raj2016-04-201-11/+13
| | | | | | Potentially fixes #16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-runtime: Enable shared librariesKhem Raj2016-04-054-8/+7
| | | | | | | | package libcxxabi-dev and compiler-rt-staticdev into packagegroup-core-standalone-sdk-target so it gets into SDK Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-core-standalone-sdk-target: Add clang runtime libsKhem Raj2016-04-043-0/+6
| | | | | | | ALLOW_EMPTY is added so packaging can succeed the files are all static libs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Enable sanitizersKhem Raj2016-04-041-4/+15
| | | | | | | | | Fix the code to make them buildable Dont package libclang_rt.asan shared object yet it links with libstdc++, we need to make it use libc++ and then we can package it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Remove -ffreestanding from compiler flagsKhem Raj2016-04-042-4/+4
| | | | | | | | we are targetting linux so its hosted Correct dual lincese logic Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Remove workaround to order limit.h and stdlib.hKhem Raj2016-04-042-41/+6
| | | | | | | | | | | Real isue is use of -ffreestanding, we need to remove that we are targetting linux so its hosted Correct dual lincese logic Fix formatting to match recommended OE style Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Remove workaround to order limit.h and stdlib.hKhem Raj2016-04-042-67/+1
| | | | | | | | | Real isue is use of -ffreestanding, we need to remove that we are targetting linux so its hosted Correct dual lincese logic Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix target buildKhem Raj2016-04-033-9/+146
| | | | | | | Switch to using cmake disable sanitizers since it does not yet cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Fix build with glibcKhem Raj2016-04-032-0/+35
| | | | | | | avoid conflicting definitions of MB_LEN_MAX from limit.h from clang and stdlib.h from glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-cross-canadian: Use cross_canadian_bindirlinksKhem Raj2016-04-011-0/+1
| | | | | | | | | cross_canadian_bindirlinks would create appropritate symlinks in SDK so that mutliple libc toolchains can live in same SDK gcc and binutils already use it, clang cross-canadian should use it too Otherwise clang is not found correctly when SDK env is set Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Emit correct ldso name on musl targetsKhem Raj2016-03-313-0/+181
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Fix build on armKhem Raj2016-03-242-0/+31
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx,libcxxabi: Use cmake knobs for muslKhem Raj2016-03-155-101/+4
| | | | | | | libcxx already has support for musl, enable that instead of patching code Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix build on muslKhem Raj2016-03-153-1/+129
| | | | | | Move -L flags to LDFLAGS, avoid compiler warnings Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx,libcxxabi: Fix build on muslKhem Raj2016-03-155-0/+156
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang: Update to latest 3.8 release tagsKhem Raj2016-03-101-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fix qa/package warningYi Qingliang2016-03-091-0/+2
|
* remove empty directory when installing nativesdkYi Qingliang2016-03-041-3/+4
|
* rename 'CLANG_GIT' 'CLANG_GIT_PROTOCOL' to 'LLVM_GIT' 'LLVM_GIT_PROTOCOL'Yi Qingliang2016-03-016-15/+15
| | | | Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
* use variable 'CLANG_GIT' and 'CLANG_GIT_PROTOCOL'Yi Qingliang2016-02-296-13/+16
| | | | Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
* recipes: Use NCSA instead of UIUCKhem Raj2016-02-274-4/+4
| | | | | | NCSA is the licence file name for UIUC licence actually Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use SRCPV where git fetcher is usedKhem Raj2016-02-276-2/+19
| | | | | | Move libunwind to 3.8 branch and set SRCREV in clang.inc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on 3.8 branchKhem Raj2016-02-271-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-suite: Update to 3.8 release branchKhem Raj2016-02-171-7/+7
| | | | | | 3.8 is around the corner. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 3.7.1Khem Raj2016-01-031-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* update llvmKhem Raj2015-10-251-1/+1
| | | | | | bunch of BPF fixes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Bump to latest on 3.7 branchKhem Raj2015-10-011-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-libunwind: Preferred to provide libunwindKhem Raj2015-09-121-1/+5
| | | | | | | When using meta-clang use the llvm libunwind instead of HP libubwind which comes from OE-Core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-libunwind: Add recipeKhem Raj2015-09-102-0/+112
| | | | | | | | Apple has contributed libunwind implementation to llvm which is needed for libcxx to work and is equivalent in APIs to HP's libunwind implementation from good old days Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Organize the EXTRA_OECMAKE into multilinesKhem Raj2015-09-101-1/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt,libcxx,libcxxabi: Fix build by removing dependence on libgcc and ↵Khem Raj2015-09-103-6/+14
| | | | | | libstdc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on 3.7 release branchKhem Raj2015-08-281-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt,libcxx,libcxxabi: Use TARGET_ARCH instead of TRANSLATED_TARGET_ARCHKhem Raj2015-08-263-3/+3
| | | | | | clang-cross compiler is referenced using TARGET_ARCH Signed-off-by: Khem Raj <raj.khem@gmail.com>