llvm-config cross-compile improvements
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:
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
Quoted 10 lines · Martin Kelly
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:
Quoted 9 lines
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 ?
Quoted 21 lines
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 hostrecipes-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
Quoted 16 lines · Khem Raj
Quoted 15 lines · Martin Kelly
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:
Quoted 8 lines
Quoted 4 lines
https://github.com/surround-io/meta-clang
for you to fetch changes up to
7d294bc2548ade23b7d25761d73769e712617c51:can you send a simple gh pull request please ?
Done; sorry, from the meta-clang readme, I thought it was asking for pull requests to go over openembedded-devel, but I'm happy with Github too.