summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/common.inc
Commit message (Collapse)AuthorAgeFilesLines
* clang: Implement -fmacro-prefix-mapKhem Raj2019-02-151-0/+2
| | | | | | | OE-core now uses it so, we have to take the patch from review system, until it is in master Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Refresh patches and use static libunwind.a during default linkKhem Raj2019-02-071-18/+18
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm: Add .dword support for aarch64 MCKhem Raj2019-01-311-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add libunwind automatically to link cmdline when using compiler-rtKhem Raj2019-01-261-0/+1
| | | | | | | This makes compile-rt equal to libgcc which has both builtins+unwind as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch to upcoming 8.0 release branchKhem Raj2019-01-191-48/+16
| | | | | | | | | | | | | | | Clang 8.0 is going to be released in Feb-March 2019 so here we switch to release/8.x branch a bit early so we can provide some feedback for release to be good on OE If one needs to use stable 7.0.1 release please use thud branch clang 8.0 does have RISC-V backend, enable it clang: Add building experimental targets e.g. riscv Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-project: Switch to canonical git mirrorDan McGregor2019-01-161-1/+1
| | | | | | | LLVM now has an official git monorepo mirror. It will likely become the canonical upstream in the near future. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
* recipes: Rework llvm/clang/compiler-rt/libcxx/lldb recipesKhem Raj2018-12-271-13/+50
| | | | | | | | | | | | | | This is an overhaul of clang/llvm project related recipes * switch to using a flat mono repo for all clang/llvm projects * Add llvm-project-source recipe which will prepare source tree in work-shared for all recipes much like kernel and gcc * build lld as part of clang recipes, its much easier and saves build time and hopefully nativesdk version will be built now for free * switch to official git repos at git://github.com/llvm-project * Adjust all recipes to use shared sources Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Default to ssp and pie codegen when GCCPIE is setKhem Raj2018-12-091-1/+1
| | | | | | | | | This ensures that clang generates PIE+SSP code by default, this makes sure that packages which do not make this distinction compile properly as passing -fPIE and -pie could be not working well for their build systems Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Upgrade to clang 7.0.0 Release (rc2)Khem Raj2018-09-091-1/+1
| | | | | | | | | | | | | | | | | - 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>
* clang: Fix driver segfault with very long commandlineKhem Raj2018-05-201-0/+1
| | | | | | This is triggerred with webkit linking commands Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use python2 for scan-viewKhem Raj2018-05-151-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Do not link with -lssp when using -fstack-protectorKhem Raj2018-04-211-1/+1
| | | | | | This is provided by libc both (musl and glibc) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to upcoming 6.0 release branchesKhem Raj2018-01-271-5/+2
| | | | | | | clang 6.0 is upcoming release, its already in RC phases Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld: Update to latest on release_50Khem Raj2017-10-051-1/+0
| | | | | | Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch c++ default to gnu++14 standardKhem Raj2017-09-241-0/+1
| | | | | | | | | | | | | | | Using cmdline options -std doesnt always work e.g. boost where it uses c++ driver (clang++) to invoke compilation but then passes '-x c' to choose the language for compilation Which ends in errors like below error: invalid argument '-std=c++14' not allowed with 'C' Therefore change the defaults in driver itself to use gnu++14 which is default with g++ from gcc7+ too. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Backport aarch64 fix for bug 34674Khem Raj2017-09-211-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm: Fix wrong code generation when floor() libm function is calledKhem Raj2017-09-191-0/+1
| | | | | | | see https://reviews.llvm.org/D38050 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Fix build on ARM due to libcxxabi not finding libunwind sourcesKhem Raj2017-08-271-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix dynamic linker on x86/muslKhem Raj2017-08-161-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Revert back to gnu++98 as defaultKhem Raj2017-08-131-1/+0
| | | | | | | | many packages need fixing for true c++11 and newer standard, may be eventually they will reach there for now lets keep the defaults as it is Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch c++ default to gnu++14 standardKhem Raj2017-08-121-0/+1
| | | | | | | | | | | | | | | Using cmdline options -std doesnt always work e.g. boost where it uses c++ driver (clang++) to invoke compilation but then passes '-x c' to choose the language for compilation Which ends in errors like below error: invalid argument '-std=c++14' not allowed with 'C' Therefore change the defaults in driver itself to use gnu++14 which is default with g++ from gcc7+ too. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/libcxx/libunwind: Update to latest on release_50Khem Raj2017-08-081-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Merge libcxxabi needs into libcxxKhem Raj2017-07-311-5/+0
| | | | | | | | | This is preferred way of building libc++ and it also means we do not need musl specific tweaks since top level build from llvm already know musl and make right choices Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Delete arm EHABI workaoundKhem Raj2017-07-291-1/+0
| | | | | | unwind.h in clang 5.0 seems to have needed struct definitions Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Default to PIE when GCCPIE is setKhem Raj2017-07-291-0/+3
| | | | | | | | This matches with OE-Core expectations and we do not need to inject PIE flags manually via SECURITY_CFLAGS which does not always work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Do not include xlocale.hKhem Raj2017-07-201-0/+1
| | | | | | | | Thsi file is removed from glibc >= 2.26 Fixes #36 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest masterKhem Raj2017-06-071-2/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Move to upcoming 5.0.0 ( trunk ) releaseKhem Raj2017-05-221-0/+34
Signed-off-by: Khem Raj <raj.khem@gmail.com>