diff options
Diffstat (limited to 'recipes-devtools/clang/libcxx_git.bb')
| -rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb new file mode 100644 index 0000000..02e5bed --- /dev/null +++ b/recipes-devtools/clang/libcxx_git.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | # Copyright (C) 2015 Khem Raj <raj.khem@gmail.com> | ||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 3 | |||
| 4 | DESCRIPTION = "libc++ is a new implementation of the C++ standard library, targeting C++11" | ||
| 5 | HOMEPAGE = "http://libcxx.llvm.org/" | ||
| 6 | LICENSE = "MIT & UIUC" | ||
| 7 | SECTION = "base" | ||
| 8 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 9 | |||
| 10 | DEPENDS += "clang-cross-${TRANSLATED_TARGET_ARCH}" | ||
| 11 | |||
| 12 | require clang.inc | ||
| 13 | |||
| 14 | inherit cmake | ||
| 15 | |||
| 16 | BRANCH ?= "release_37" | ||
| 17 | |||
| 18 | DEPENDS += "libcxxabi" | ||
| 19 | |||
| 20 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=149d2e8e8d99e3a2d702997b5f919fd9; \ | ||
| 21 | " | ||
| 22 | SRC_URI = "\ | ||
| 23 | git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};name=llvm \ | ||
| 24 | git://github.com/llvm-mirror/libcxx.git;branch=${BRANCH};name=libcxx;destsuffix=git/projects/libcxx \ | ||
| 25 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ | ||
| 26 | " | ||
| 27 | |||
| 28 | SRCREV_libcxxabi = "8f53d45e9ac7d3c078ab3fe8f91c40a4cc6b579a" | ||
| 29 | SRCREV_libcxx = "de80a7d886d75188de210eb4d6f0768fdc4d4d0b" | ||
| 30 | SRCREV_llvm = "937d48bea8f01b02d5f3db05a9e58dfb976e9d3b" | ||
| 31 | |||
| 32 | SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | ||
| 33 | |||
| 34 | S = "${WORKDIR}/git/projects/libcxx" | ||
| 35 | |||
| 36 | THUMB_TUNE_CCARGS = " -ffreestanding -nostdlib -nostdinc++ -nobuiltininc" | ||
| 37 | |||
| 38 | EXTRA_OECMAKE += "-DLIBCXX_CXX_ABI=libcxxabi -DLIBCXXABI_LIBCXX_PATH=${S}/../libcxx -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${S}/../libcxxabi/include -DLLVM_PATH=${S}/../../" | ||
| 39 | |||
| 40 | BBCLASSEXTEND = "native nativesdk" | ||
