summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-16 12:37:30 -0700
committerKhem Raj <raj.khem@gmail.com>2017-03-16 12:37:30 -0700
commita1c9ef3c831a473777985beb8d33d44d9350a858 (patch)
treef9152a2e5290e852972d07e900f923438ed01fd8
parentda9df5ff07941351f14b2d406ffcf61b166d2cb5 (diff)
downloadmeta-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.conf5
-rw-r--r--recipes-devtools/clang/compiler-rt_git.bb4
-rw-r--r--recipes-devtools/clang/libcxx_git.bb4
-rw-r--r--recipes-devtools/clang/libcxxabi_git.bb6
-rw-r--r--recipes-devtools/clang/llvm-libunwind_git.bb3
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"
50TOOLCHAIN_pn-uclibc = "gcc" 50TOOLCHAIN_pn-uclibc = "gcc"
51TOOLCHAIN_pn-uclibc-initial = "gcc" 51TOOLCHAIN_pn-uclibc-initial = "gcc"
52TOOLCHAIN_pn-valgrind = "gcc" 52TOOLCHAIN_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" 54TOOLCHAIN_pn-gobject-introspection_armv7ve = "gcc"
55TOOLCHAIN_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"
5HOMEPAGE = "http://compiler-rt.llvm.org/" 5HOMEPAGE = "http://compiler-rt.llvm.org/"
6LICENSE = "MIT | NCSA" 6LICENSE = "MIT | NCSA"
7SECTION = "base" 7SECTION = "base"
8INHIBIT_DEFAULT_DEPS = "1"
9 8
10require clang.inc 9require clang.inc
11 10
12# libgcc gcc-runtime needed during configuring compiler-rt 11TOOLCHAIN = "clang"
13DEPENDS += "clang-cross-${TARGET_ARCH} virtual/${TARGET_PREFIX}libc-for-gcc libgcc gcc-runtime"
14 12
15PV .= "+git${SRCPV}" 13PV .= "+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
5HOMEPAGE = "http://libcxx.llvm.org/" 5HOMEPAGE = "http://libcxx.llvm.org/"
6LICENSE = "MIT | NCSA" 6LICENSE = "MIT | NCSA"
7SECTION = "base" 7SECTION = "base"
8INHIBIT_DEFAULT_DEPS = "1"
9
10DEPENDS += "clang-cross-${TARGET_ARCH}"
11 8
12require clang.inc 9require clang.inc
13 10
@@ -43,3 +40,4 @@ EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=True "
43ALLOW_EMPTY_${PN} = "1" 40ALLOW_EMPTY_${PN} = "1"
44 41
45BBCLASSEXTEND = "native nativesdk" 42BBCLASSEXTEND = "native nativesdk"
43TOOLCHAIN = "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
5HOMEPAGE = "http://libcxxabi.llvm.org/" 5HOMEPAGE = "http://libcxxabi.llvm.org/"
6LICENSE = "MIT | NCSA" 6LICENSE = "MIT | NCSA"
7SECTION = "base" 7SECTION = "base"
8INHIBIT_DEFAULT_DEPS = "1"
9
10DEPENDS += "clang-cross-${TARGET_ARCH}"
11 8
12require clang.inc 9require clang.inc
13 10
11TOOLCHAIN = "clang"
12
14inherit cmake 13inherit cmake
15PV .= "+git${SRCPV}" 14PV .= "+git${SRCPV}"
16 15
17DEPENDS += "compiler-rt" 16DEPENDS += "compiler-rt"
17
18LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8ae94dd6195890583eee15a988b6ea79; \ 18LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8ae94dd6195890583eee15a988b6ea79; \
19 " 19 "
20SRC_URI = "\ 20SRC_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
5HOMEPAGE = "http://llvm.org/" 5HOMEPAGE = "http://llvm.org/"
6LICENSE = "MIT | NCSA" 6LICENSE = "MIT | NCSA"
7SECTION = "base" 7SECTION = "base"
8INHIBIT_DEFAULT_DEPS = "1"
9
10DEPENDS += "clang-cross-${TARGET_ARCH}"
11 8
12require clang.inc 9require clang.inc
13 10