summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bcc: Remove cross-compilation cmake patchOvidiu Panait2020-03-042-34/+0
| | | | | | | Commit ab686950af8d was integrated to fix this particular issue, so this patch is not needed anymore. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Replace python3 patch with do_install_append sedOvidiu Panait2020-03-042-1696/+5
| | | | | | | Use sed to replace all occurences of /usr/bin/env python with the python3 variant instead of maintaining a patch that does this. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* drone: Adjust XZ parallelism and use yoe-debug-imageKhem Raj2020-03-041-2/+4
| | | | | | | Also build commercial packages for test if needed limit load average to 1.0 at all times, so multiple CI jobs can run Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest 10.x releaseKhem Raj2020-03-0425-34/+34
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Disable on muslKhem Raj2020-03-041-0/+1
| | | | | | It does not build with clang-10/musl yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Just build on ppc64/arm64/amd64Khem Raj2020-02-271-0/+2
| | | | | | it depends on bcc which only supports these arches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to latest on 10.x releaseKhem Raj2020-02-271-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* BCC: Upgrade to v0.13.0Leo Yan2020-02-263-31/+67
| | | | | | | | | Since Clang has been upgraded to 10.0.0, it leads to BCC building failure which is caused by LLVM functions definition mismatching. This patch upgrades BCC to v0.13.0 so can support Clang 10.0.0. Signed-off-by: Leo Yan <leo.yan@linaro.org>
* clang: Fix libedit packageconfig flagPhilip Lorenz2020-02-241-2/+2
| | | | | | | LLDB_DISABLE_LIBEDIT was renamed to LLDB_ENABLE_LIBEDIT in 62456e579eebe012e5a6ebcf9960aef9d7babf87. Signed-off-by: Philip Lorenz <philip@bithub.de>
* bpftrace: Add build recipeLeo Yan2020-02-232-0/+101
| | | | | | | | | | | | | | | | | bpftrace is a high-level tracing language for eBPF, its language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap. bpftrace was created by Alastair Robertson. bpftrace language supports the usages for one-liner and script, it's very powerful for tracing and profiling. bpftrace internal mechanism depends on BCC and LLVM/Clang, so the building dependency has contains these modules. Add recipe for bpftrace version 0.9.4. This patch also contains a patch to change cmake file so can look for libraries and headers which are installed in target sysroot-recipe path for cross compilation. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Co-developed-by: Leo Yan <leo.yan@linaro.org>
* BCC: Add build recipeLeo Yan2020-02-233-0/+1732
| | | | | | | | | | | | | | | | BPF Compiler Collection (BCC) is a toolkit for creating efficient kernel tracing and manipulation programs, and includes versatile tools and examples which based on eBPF. This tool is very widely used on server section, but we also can use it for embedded system, e.g. use its function trace utilities (trace.py and argdist.py) to trace kernel function parameters and return values. This patch adds recipe for BCC version 0.12.0. This patch also contains a patch to change cmake file so can look for libraries and headers which are installed in target sysroot-recipe path for cross compilation. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Co-developed-by: Leo Yan <leo.yan@linaro.org>
* cmake-native.bbclass: Add include and libdir from native sysrootKhem Raj2020-02-211-0/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sqlite-orm: Use gcc as clang++ hangs forever during linkKhem Raj2020-02-211-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* musl: Do not pass -frounding-math for nowKhem Raj2020-02-211-0/+7
| | | | | | clang/master hangs (can you believe) while compiling musl on armv7ve Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mpg123,libvorbis: Disbale fast-math to avoid libm linking errorsKhem Raj2020-02-211-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade clang to 10.x release (RC2)Khem Raj2020-02-2135-1165/+492
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add LAYERDEPENDSJan-Simon Möller2020-02-171-0/+1
| | | Add LAYERDEPENDS to core as per README.md .
* clang,llvm: cmake: Fix configure for packages using find_package()Ovidiu Panait2020-02-022-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | Currently, when a package (i.e. bcc [https://github.com/iovisor/bcc.git]) that depends on LLVM/Clang tries to run cmake find_package() during do_configure, it will fail with a similar error: | The imported target "llvm-tblgen" references the file | ".../recipe-sysroot/usr/bin/llvm-tblgen" | | but this file does not exist. Possible reasons include: | * The file was deleted, renamed, or moved to another location. | * An install or uninstall procedure did not complete successfully. | * The installation package was faulty and contained | ".../recipe-sysroot/usr/lib/cmake/LLVMExports.cmake" | but not all the files it references. This is due to the fact that currently the exported cmake scripts look for target binaries in sysroot. Work around this by not exporting the target binaries in Exports-* cmake files. Upstream-Status: Innapropriate [oe-specific] Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* gcr: Do not disable gobject-introspectionKhem Raj2020-02-011-4/+0
| | | | | | QEMU crash has fixed itself overtime now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Use simplier libdir suffix computationDaniel McGregor2020-01-241-17/+1
| | | | | | | | | | An earlier commit added a suffix table to determine the libdir suffix for multilib targets. This table failed at least in the lib32 case for x86, where the suffix should have been '', but was instead '32'. Use the same method as the cmake bbclass instead. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* nss: Use clang for native compiler as wellKhem Raj2020-01-231-0/+5
| | | | | | | | Fixes | gcc: error: unrecognized command line option ‘-Qunused-arguments’ | make[2]: *** [../../coreconf/rules.mk:393: Linux3.4_arm_glibc_PTH_OPT.OBJ/nsinstall.o] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use 64bit long double on musl/ppc64leKhem Raj2020-01-231-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx,compiler-rt: Use python3 during buildKhem Raj2020-01-202-2/+2
| | | | | | py2 is gone from oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add a .gitignoreKhem Raj2020-01-201-0/+6
| | | | | | So that one does not commit .patch files etc. accidentally Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Make llvm CRT components optionalDaniel McGregor2020-01-201-0/+3
| | | | | | | LLVM 9+ provides the crt startup components crtbegin.o and crtend.o, enabled by default. Make using these with the clang runtime optional. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* clang: package the multilib symlinkDaniel McGregor2020-01-201-1/+9
| | | | | | | | | We need to muck with the default packaging a bit to prevent libdir/clang subdirectories from being packaged, and instead use nonarch_libdir. Otherwise the packager complains about directories being beneath a symlink. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* clang: stay closer to cmake.bbclassDaniel McGregor2020-01-204-87/+50
| | | | | | | | | | | Allow more of the cmake variables coming from the OE environment through, otherwise the release C flags and CXX flags get reset to LLVM's default, which greatly extend build times. Also switch to using cmake.bbclass's do_compile and do_install commands. There's no need to call ninja directly anymore. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* clang: use nonarch_libdir/clang for all runtime filesDaniel McGregor2020-01-201-10/+16
| | | | | | | | This allows the cross compiler to always find the runtime libraries in the same place, no matter the value of libdir. This is required for multilib to work correctly. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* clang: Search for dynamic linker.Daniel McGregor2020-01-203-61/+61
| | | | | | | Use the sysroot for a hint as to where to find the dynamic linker. This allows multilib distros to use the appropriate runtime linker path. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* libcxx: Correct link failure due to missing __divti3Jeremy Puhlman2020-01-162-0/+31
| | | | | | Add libgcc as defined by $CC to link of libc++. Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
* mesa: Clang can compile it on mipsKhem Raj2020-01-151-2/+7
| | | | | | gobject-intospection and avahi do not yet prelink with clang/mips64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use git suffix instead of svnKhem Raj2020-01-051-2/+3
| | | | | | | | | | src uri has long moved to git, and that is also being used as solib suffix Fixes packaging errors ERROR: clang-10.0.0-r0 do_package_qa: QA Issue: libclang rdepends on clang-dev [dev-deps] ERROR: clang-10.0.0-r0 do_package_qa: QA Issue: clang rdepends on clang-dev [dev-deps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: Disable ompt tools on targets where ompt is not supportedKhem Raj2020-01-021-0/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nfs-utils: Enable unknown-warnings as errorsKhem Raj2019-12-311-0/+2
| | | | | | | This helps configure scripts to detect right set of compiler specific options to enable Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drone: Switch trunk ci to master branchKhem Raj2019-12-261-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Depend on libcrypt for sanitizersKhem Raj2019-12-261-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #264 from YoeDistro/kraj/zeusKhem Raj2019-12-261-1/+1
|\ | | | | merge master to zeus ( upgrade to 9.0.1 )
| * Merge remote-tracking branch 'upstream/master' into zeusKhem Raj2019-12-260-0/+0
| |\ | |/ |/|
* | 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-232-0/+82
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | libcxx: Fix build on architectures with baselib != libKhem Raj2019-12-201-1/+3
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Update to 9.0.1 RC3Khem Raj2019-12-191-1/+1
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Use LLVM_USE_SPLIT_DWARF=ONKhem Raj2019-12-181-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-184-0/+75
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Fix cmake exports sed variable using incorrect nameMichael Davis2019-12-171-1/+1
| | | | | | | | Signed-off-by: Michael Davis <michael.davis@essvote.com>
* | openmp: Mark mips64 unsupported hostKhem Raj2019-12-171-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-161-6/+6
| |
* | Compute LLVM_LIBDIR_SUFFIX correctly on multiarch environmentHiroshi Hatake2019-12-163-1/+20
| | | | | | | | Co-authored-by: INAJIMA Daisuke <inajima@soum.co.jp>
* | cpio: Link with compiler-rt when using clangKhem Raj2019-12-151-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-141-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>