summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | m4,ruby: Set COMPILER_RT instead of playing with LDFLAGSKhem Raj2019-11-181-2/+3
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | clangd: Always link with libatomicKhem Raj2019-11-182-0/+38
| | | | | | | | | | | | | | | | | | Since it uses double atomics which are not available yet as intrinsics Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | clang.bbclass: Define RUNTIME variable to select compiler runtimeKhem Raj2019-11-181-6/+8
| | | | | | | | | | | | | | | | | | | | | RUNTIME can be 'llvm' or 'gnu' defaults to 'gnu' Use this variable for selecting stdc++ and c runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | Revert "clang: Do not lock clang as only cross compiler option"Khem Raj2019-11-181-0/+1
| | | | | | | | | | | | | | | | | | This reverts commit cb86d1f837f8f8c40e8b00c9c29d136ed6a16a08. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | tinymembench: Disable internal assembler on mipsKhem Raj2019-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes mips-32.S:108:15: error: invalid reassignment of non-absolute variable 'DST' | .set DST, $a0 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | clang: Do not lock clang as only cross compiler optionKhem Raj2019-11-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * | clang: make libedit optionalYong, Jonathan2019-11-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows libedit to dependency to be disabled via PACKAGECONFIG_remove. add libedit to native and nativesdk packageconfigs Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * drone.yml: Trigger CI on zeus branch pushKhem Raj2019-12-261-1/+1
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * Revert "clangd: Always link with libatomic"Khem Raj2019-12-261-37/+0
| | | | | | | | | | | | | | | | | | This reverts commit 2fdb19c4f8b025d4465d78cdf1bc05d786f5e087. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clangd: Always link with libatomicKhem Raj2019-12-261-0/+37
| | | | | | | | | | | | | | | | | | Since it uses double atomics which are not available yet as intrinsics Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * Revert "clang: Do not lock clang as only cross compiler option"Khem Raj2019-12-261-0/+1
| | | | | | | | | | | | | | | | | | This reverts commit cb86d1f837f8f8c40e8b00c9c29d136ed6a16a08. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Do not lock clang as only cross compiler optionKhem Raj2019-12-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Turn split-dwarf setting into a packageconfig knobKhem Raj2019-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | Disable it by default, since centos7/gcc4.8 can't handle it Fixes Issue #262 Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * compiler-rt: Fix build with glibc 2.31Khem Raj2019-12-262-0/+82
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * libcxx: Fix build on architectures with baselib != libKhem Raj2019-12-261-1/+3
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Update to 9.0.1 RC3Khem Raj2019-12-261-1/+1
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Use LLVM_USE_SPLIT_DWARF=ONKhem Raj2019-12-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps in consuming less memory during link stage and also fixed link failures on mips64 Using clang cross itself ends up crashing | clang-9: error: unable to execute command: Killed | clang-9: error: linker command failed due to signal (use -v to see invocation) Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * ffmpeg,gstreamer1.0-libav: Fix mips64/clang build errorKhem Raj2019-12-264-0/+75
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Fix cmake exports sed variable using incorrect nameMichael Davis2019-12-261-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Davis <michael.davis@essvote.com>
| | * openmp: Mark mips64 unsupported hostKhem Raj2019-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | | Fixes error Unknown or unsupported architecture Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * Package compiler-rt correctly with non-empty LLVM_LIBDIR_SUFFIXHiroshi Hatake2019-12-261-6/+6
| | |
| | * Compute LLVM_LIBDIR_SUFFIX correctly on multiarch environmentHiroshi Hatake2019-12-263-1/+20
| | | | | | | | | | | | Co-authored-by: INAJIMA Daisuke <inajima@soum.co.jp>
| | * cpio: Link with compiler-rt when using clangKhem Raj2019-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes /usr/src/debug/cpio/2.13-r0/build/gnu/../../cpio-2.13/gnu/xmalloc.c:100: undefined reference to `__mulodi4' clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:1124: recipe for target 'rmt' failed Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * libexecinfo,openflow: Use gcc on mipsKhem Raj2019-12-261-0/+5
| | | | | | | | | | | | | | | | | | | | | Fails with error on clang error: return address can be determined only for current frame Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * hdf5: Use gcc on musl/x86_64Khem Raj2019-12-261-0/+8
| | | | | | | | | | | | | | | | | | clang crashes for some reason Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Use cmake variable for libdlKhem Raj2019-12-262-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | This ensures that clang can link with libdl on platforms where needed Fixes issue #241 Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Update tool rename patch to match upstream oneKhem Raj2019-12-261-15/+121
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * python3,x64: Can be compiled with clang9Khem Raj2019-12-261-8/+0
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Enable lto when asked for via DISTRO_FEATURESKhem Raj2019-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | add 'thin-lto' or 'full-lto' to DISTRO_FEATURES to enable it instead of making it unconditional Should fix Issue #236 Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Update to 9.0.1-rc2Khem Raj2019-12-261-1/+1
| | | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * Revert "clang: Do not lock clang as only cross compiler option"Khem Raj2019-12-261-0/+1
| | | | | | | | | | | | | | | | | | This reverts commit cb86d1f837f8f8c40e8b00c9c29d136ed6a16a08. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * clang: Do not lock clang as only cross compiler optionKhem Raj2019-12-261-1/+0
| |/ |/| | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Fix cmake exports not finding native binaries Issue #230Michael Davis2019-12-072-0/+18
| | | | | | | | | | Signed-off-by: Michael Davis <michael.davis@essvote.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Fix multilib clang compile failing if lib is in the toolchain pathMichael Davis2019-12-072-0/+45
| | | | | | | | | | Signed-off-by: Michael Davis <michael.davis@essvote.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | packagegroup: be lenient about CLANGSDK settingRoss Burton2019-12-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | As CLANGSDK defaults to '1', users who have not read the README may think that setting it to '0' would disable adding Clang to the SDK. Little do they know that you need to *unset* the value for this to work (as bool('0') -> True). Change the logic to use bb.utils.contains(), so that '0' is not true. Signed-off-by: Ross Burton <ross.burton@intel.com>
* | clang: enable AMDGPU for all targetsJustin Bronder2019-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | In 003dd05e4c168f7c3cccb9cbfad3fd8f38fe8741, clang replaced the oe-core provided llvm for building mesa. However, mesa needs AMDGPU to be enabled on the native target in order to build. Following the example of oe-core's recipe, just enable AMDGPU for all targets. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | layer.conf: Define LLVMVERSION in terms of clang versionKhem Raj2019-12-071-0/+2
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Uodate to 9.0.1-rc1Khem Raj2019-12-0727-153/+36
| | | | | | | | | | | | | | Drop 0021-Driver-Prioritize-SYSROOT-usr-include-over-RESOURCE_.patch as its already applied upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Create CONTRIBUTING.mdKhem Raj2019-12-071-0/+7
| |
* | Create CODE_OF_CONDUCT.mdKhem Raj2019-12-071-0/+76
| |
* | Update issue templatesKhem Raj2019-12-073-0/+68
| |
* | Revert "clangd: Always link with libatomic"Khem Raj2019-12-071-37/+0
| | | | | | | | | | | | This reverts commit 2fdb19c4f8b025d4465d78cdf1bc05d786f5e087. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clangd: Always link with libatomicKhem Raj2019-12-071-0/+37
| | | | | | | | | | | | Since it uses double atomics which are not available yet as intrinsics Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Revert "clang: Do not lock clang as only cross compiler option"Khem Raj2019-12-071-0/+1
| | | | | | | | | | | | This reverts commit cb86d1f837f8f8c40e8b00c9c29d136ed6a16a08. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Do not lock clang as only cross compiler optionKhem Raj2019-12-071-1/+0
| | | | | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: ensure correct python for nativesdk buildsrchard2scout2019-12-061-0/+1
| | | | | | This fixes #162 for nativesdk-clang.
* | libffi: Use gcc for armebKhem Raj2019-11-201-1/+6
| | | | | | | | | | | | libffi expects arv7+neon with clang in asm Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | m4,ruby,webkitgtk: Do not use compiler-rt explicitly on arrmeb/ppcKhem Raj2019-11-201-0/+5
| | | | | | | | | | | | | | Needed for clang since it needs __mulodi4 but these arches do not build compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | armeb: Disable compiler-rtKhem Raj2019-11-201-0/+3
| | | | | | | | | | | | compile-rt is not fully ported for ARM big-endian therefore disable it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | qtwebengine: Link libatomic on x86/clang/gnu-runtimeKhem Raj2019-11-201-0/+1
| | | | | | | | | | | | | | | | | | gcc uses intrinsics for atomic<double> but clang does not for x86 when using libstdc++ ./media/audio/pulse/pulse_input.cc uses this atomic variable Signed-off-by: Khem Raj <raj.khem@gmail.com>