[oe] [meta-clang] llvm-config cross-compile improvements

Khem Raj raj.khem at gmail.com
Mon Mar 20 17:37:43 UTC 2017


On Sat, Mar 18, 2017 at 8:29 PM, Martin Kelly <mkelly at xevo.com> wrote:
> Hi,
>
> This patch series fixes a number of issues I hit when trying to use the
> meta-clang llvm-config to cross-compile a project that uses CMake, calling
> into llvm-config, to determine compile flags. With the series applied, the
> cross compile successfully builds and runs. Please let me know if you have
> any concerns or if there is something I missed, and I will fix it up.
>
> The following changes since commit c9c74d269ba79abbc20919de96f1eb2b8a81edec:
>
>   clang/compiler-rt: Fix nativesdk builds break compiler-rt dep for clang
> (2017-03-16 22:54:02 -0700)
>
> are available in the git repository at:
>
>   https://github.com/surround-io/meta-clang
>
> for you to fetch changes up to 7d294bc2548ade23b7d25761d73769e712617c51:
>


can you send a simple gh pull request please ?

>   clang: build for only target and host (2017-03-18 18:01:50 -0700)
>
> ----------------------------------------------------------------
> Martin Kelly (5):
>       clang: correct spacing issue
>       clang: remove commented-out code
>       clang: fix the llvm-common wrapper
>       clang: build libLLVM.so
>       clang: build for only target and host
>
>  recipes-devtools/clang/clang.inc      |  5 ++++-
>
> recipes-devtools/clang/clang/0004-llvm-allow-env-override-of-exe-path.patch
> | 36 ++++++++++++++++++++++++++++++++++
>  recipes-devtools/clang/clang_git.bb      | 52
> ++++++++++++++++++++++----------------------------
>  recipes-devtools/clang/llvm-common/llvm-config      | 41
> +++++++++++++++++++++++++++++++--------
>  4 files changed, 96 insertions(+), 38 deletions(-)
>  create mode 100644
> recipes-devtools/clang/clang/0004-llvm-allow-env-override-of-exe-path.patch



More information about the Openembedded-devel mailing list