diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-12-27 10:47:14 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-12-27 17:29:06 -0800 |
| commit | 3d4c48bd0afb67396aacbc444fa7f6698724860e (patch) | |
| tree | c6baddd7ea8c73f781a9f691585108d228684d30 /recipes-devtools/clang/openmp_git.bb | |
| parent | 463509e8b983a0e999d01c803a1a999b76d70411 (diff) | |
| download | meta-clang-3d4c48bd0afb67396aacbc444fa7f6698724860e.tar.gz | |
recipes: Rework llvm/clang/compiler-rt/libcxx/lldb recipes
This is an overhaul of clang/llvm project related recipes
* switch to using a flat mono repo for all clang/llvm projects
* Add llvm-project-source recipe which will prepare source tree in
work-shared for all recipes much like kernel and gcc
* build lld as part of clang recipes, its much easier and saves build
time and hopefully nativesdk version will be built now for free
* switch to official git repos at git://github.com/llvm-project
* Adjust all recipes to use shared sources
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/openmp_git.bb')
| -rw-r--r-- | recipes-devtools/clang/openmp_git.bb | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/recipes-devtools/clang/openmp_git.bb b/recipes-devtools/clang/openmp_git.bb index b141b98..30bc307 100644 --- a/recipes-devtools/clang/openmp_git.bb +++ b/recipes-devtools/clang/openmp_git.bb | |||
| @@ -7,6 +7,7 @@ LICENSE = "MIT | NCSA" | |||
| 7 | SECTION = "base" | 7 | SECTION = "base" |
| 8 | 8 | ||
| 9 | require clang.inc | 9 | require clang.inc |
| 10 | require common-source.inc | ||
| 10 | 11 | ||
| 11 | DEPENDS += "ninja-native" | 12 | DEPENDS += "ninja-native" |
| 12 | 13 | ||
| @@ -15,24 +16,14 @@ RPROVIDES_${PN}-dev += "libgomp-dev" | |||
| 15 | 16 | ||
| 16 | TOOLCHAIN = "clang" | 17 | TOOLCHAIN = "clang" |
| 17 | 18 | ||
| 18 | PV .= "+git${SRCPV}" | 19 | LIC_FILES_CHKSUM = "file://openmp/LICENSE.txt;md5=5dcbca021bcb2fbc22186bc7a8a159e6" |
| 19 | |||
| 20 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dcbca021bcb2fbc22186bc7a8a159e6; \ | ||
| 21 | " | ||
| 22 | SRC_URI = "\ | ||
| 23 | ${LLVM_GIT}/openmp.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH};name=openmp \ | ||
| 24 | " | ||
| 25 | |||
| 26 | SRCREV_FORMAT = "openmp" | ||
| 27 | 20 | ||
| 28 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" | 21 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" |
| 29 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" | 22 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" |
| 30 | 23 | ||
| 31 | S = "${WORKDIR}/git" | ||
| 32 | |||
| 33 | inherit cmake pkgconfig perlnative | 24 | inherit cmake pkgconfig perlnative |
| 34 | 25 | ||
| 35 | EXTRA_OECMAKE = "-G Ninja" | 26 | EXTRA_OECMAKE = "-G Ninja ${S}/openmp" |
| 36 | 27 | ||
| 37 | THUMB_TUNE_CCARGS = "" | 28 | THUMB_TUNE_CCARGS = "" |
| 38 | 29 | ||
