diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-16 12:37:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-03-16 12:37:30 -0700 |
commit | a1c9ef3c831a473777985beb8d33d44d9350a858 (patch) | |
tree | f9152a2e5290e852972d07e900f923438ed01fd8 | |
parent | da9df5ff07941351f14b2d406ffcf61b166d2cb5 (diff) | |
download | meta-clang-a1c9ef3c831a473777985beb8d33d44d9350a858.tar.gz |
Remove INHIBIT_DEFAULT_DEPS
Depend on clang for build runtime libs
Build gobject-introspection for armv7 using gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 5 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxxabi_git.bb | 6 | ||||
-rw-r--r-- | recipes-devtools/clang/llvm-libunwind_git.bb | 3 |
5 files changed, 8 insertions, 14 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 1118ce7..1d42ae7 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -50,8 +50,9 @@ TOOLCHAIN_pn-tcp-wrappers = "gcc" | |||
50 | TOOLCHAIN_pn-uclibc = "gcc" | 50 | TOOLCHAIN_pn-uclibc = "gcc" |
51 | TOOLCHAIN_pn-uclibc-initial = "gcc" | 51 | TOOLCHAIN_pn-uclibc-initial = "gcc" |
52 | TOOLCHAIN_pn-valgrind = "gcc" | 52 | TOOLCHAIN_pn-valgrind = "gcc" |
53 | # qemu-user does not execute the applications built with clang correctly | 53 | # qemu-user does not execute the applications built with clang correctly on armv7 |
54 | # TOOLCHAIN_pn-gobject-introspection = "gcc" | 54 | TOOLCHAIN_pn-gobject-introspection_armv7ve = "gcc" |
55 | TOOLCHAIN_pn-gobject-introspection_armv7a = "gcc" | ||
55 | 56 | ||
56 | #| ../../mpfr-3.1.4/src/mul.c:324:11: error: invalid output constraint '=h' in asm | 57 | #| ../../mpfr-3.1.4/src/mul.c:324:11: error: invalid output constraint '=h' in asm |
57 | #| umul_ppmm (tmp[1], tmp[0], MPFR_MANT (b)[0], MPFR_MANT (c)[0]); | 58 | #| umul_ppmm (tmp[1], tmp[0], MPFR_MANT (b)[0], MPFR_MANT (c)[0]); |
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index e8da315..fa9f0ce 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -5,12 +5,10 @@ DESCRIPTION = "LLVM based C/C++ compiler Runtime" | |||
5 | HOMEPAGE = "http://compiler-rt.llvm.org/" | 5 | HOMEPAGE = "http://compiler-rt.llvm.org/" |
6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | INHIBIT_DEFAULT_DEPS = "1" | ||
9 | 8 | ||
10 | require clang.inc | 9 | require clang.inc |
11 | 10 | ||
12 | # libgcc gcc-runtime needed during configuring compiler-rt | 11 | TOOLCHAIN = "clang" |
13 | DEPENDS += "clang-cross-${TARGET_ARCH} virtual/${TARGET_PREFIX}libc-for-gcc libgcc gcc-runtime" | ||
14 | 12 | ||
15 | PV .= "+git${SRCPV}" | 13 | PV .= "+git${SRCPV}" |
16 | 14 | ||
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index f6f1444..9167181 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -5,9 +5,6 @@ DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targe | |||
5 | HOMEPAGE = "http://libcxx.llvm.org/" | 5 | HOMEPAGE = "http://libcxx.llvm.org/" |
6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | INHIBIT_DEFAULT_DEPS = "1" | ||
9 | |||
10 | DEPENDS += "clang-cross-${TARGET_ARCH}" | ||
11 | 8 | ||
12 | require clang.inc | 9 | require clang.inc |
13 | 10 | ||
@@ -43,3 +40,4 @@ EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True " | |||
43 | ALLOW_EMPTY_${PN} = "1" | 40 | ALLOW_EMPTY_${PN} = "1" |
44 | 41 | ||
45 | BBCLASSEXTEND = "native nativesdk" | 42 | BBCLASSEXTEND = "native nativesdk" |
43 | TOOLCHAIN = "clang" | ||
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb index 9d60425..86f1464 100644 --- a/recipes-devtools/clang/libcxxabi_git.bb +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
@@ -5,16 +5,16 @@ DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targe | |||
5 | HOMEPAGE = "http://libcxxabi.llvm.org/" | 5 | HOMEPAGE = "http://libcxxabi.llvm.org/" |
6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | INHIBIT_DEFAULT_DEPS = "1" | ||
9 | |||
10 | DEPENDS += "clang-cross-${TARGET_ARCH}" | ||
11 | 8 | ||
12 | require clang.inc | 9 | require clang.inc |
13 | 10 | ||
11 | TOOLCHAIN = "clang" | ||
12 | |||
14 | inherit cmake | 13 | inherit cmake |
15 | PV .= "+git${SRCPV}" | 14 | PV .= "+git${SRCPV}" |
16 | 15 | ||
17 | DEPENDS += "compiler-rt" | 16 | DEPENDS += "compiler-rt" |
17 | |||
18 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8ae94dd6195890583eee15a988b6ea79; \ | 18 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8ae94dd6195890583eee15a988b6ea79; \ |
19 | " | 19 | " |
20 | SRC_URI = "\ | 20 | SRC_URI = "\ |
diff --git a/recipes-devtools/clang/llvm-libunwind_git.bb b/recipes-devtools/clang/llvm-libunwind_git.bb index a7c4e46..c421743 100644 --- a/recipes-devtools/clang/llvm-libunwind_git.bb +++ b/recipes-devtools/clang/llvm-libunwind_git.bb | |||
@@ -5,9 +5,6 @@ DESCRIPTION = "libunwind implements a stack unwinder, needed to perform C++ exce | |||
5 | HOMEPAGE = "http://llvm.org/" | 5 | HOMEPAGE = "http://llvm.org/" |
6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | INHIBIT_DEFAULT_DEPS = "1" | ||
9 | |||
10 | DEPENDS += "clang-cross-${TARGET_ARCH}" | ||
11 | 8 | ||
12 | require clang.inc | 9 | require clang.inc |
13 | 10 | ||