summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/nativesdk-clang-glue.bb
Commit message (Collapse)AuthorAgeFilesLines
* Convert to new override syntaxPreeti Sachan2022-03-151-2/+2
| | | | | | | | Used script 'scripts/contrib/convert-overrides.py' from openembedded-core meta layer to add new override syntax to make it work with BitBake 1.52 (Honister 3.4) or later. Signed-off-by: Preeti Sachan <preeti.sachan@intel.com>
* nativesdk-clang-glue: fix LIC_FILES_CHKSUMMartin Jansa2019-08-261-1/+1
| | | | | | | * use the filename with dashes like other recipes do * fixes: ERROR: nativesdk-clang-glue-1.0-r0: LIC_FILES_CHKSUM contains an invalid URL: WITH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* clang: Upgrade to 9.x-rcXKhem Raj2019-08-121-2/+2
| | | | | | | dont package six.py, its provided by python3-six package default to lp64d ABI and rv64gc ISA. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nativesdk-clang-glue: Symlink /lib dir for libgcc_s and friendsKhem Raj2019-02-111-1/+3
| | | | | | Without this -fuse-ld=lld fails to find libgcc_s Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix nativesdk builds to use clang-nativeKhem Raj2019-02-111-2/+6
| | | | | | | | | | - User lld for linking nativesdk-clang - Enable LTO to build nativesdk-clang - Use -static-libgcc when using gold/lld for nativesdk clang build - Use llvm wrappers for ar ranlib and nm to help LTO - Package and create cross versions of lld Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Rework llvm/clang/compiler-rt/libcxx/lldb recipesKhem Raj2018-12-271-2/+1
| | | | | | | | | | | | | | 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>
* recipes/clang: Use COMMON_LICENSE_DIR instead of COREBASEKhem Raj2017-09-181-1/+1
| | | | | | | Fixes do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nativesdk-clang-glue: Disable debug packagingOtavio Salvador2017-08-251-0/+1
| | | | | | | | | | | | | | | | This package does not provide binary files and is just to glue the paths for proper use by Clang so disabling debug avoids the packaging error we were seeing: ,---- | ERROR: nativesdk-clang-glue-4.0.0-r0 do_package: File | './usr/lib/debug' cannot be packaged into 'nativesdk-clang-glue-dbg' | because its parent directory structure does not exist. One of its | parent directories is a symlink whose target directory is not included | in the package. `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* nativesdk-clang-glue: Fix indenting of codeOtavio Salvador2017-08-251-4/+4
| | | | | | We were mixing tabs and spaces. Now we moved to use spaces only. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* nativesdk-clang-glue: Add recipe for glueing clang crossdkKhem Raj2015-07-231-0/+27
clang differs subtly when it comes to sysroot support as compared to gcc where the gcc driver is compiled with lot of the paths and information clang is not, nativesdk sysroot is tuned to where gcc expects it, this does not work well for clang, since clang looks for all headers/libraries/compiler-runtime under same sysroot whereas gcc has diffrent understanding of sysroot for target and where it expects gcc headers and other tools needed for compilation. Anyway short story is that we create symlinks into directories for include/ and usr/lib so clang is happy and it does not affect gcc crosssdk Signed-off-by: Khem Raj <raj.khem@gmail.com>