summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-02-20 21:10:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 11:44:57 +0000
commit1781289b683fc6ac1a620bbe36f669c905b0f4c7 (patch)
tree269f1660825255110397d8e24e7f2c9fe33dc56e /meta
parent11cdf4c5d9dad1abbe019541404e5efcf7279b37 (diff)
downloadpoky-1781289b683fc6ac1a620bbe36f669c905b0f4c7.tar.gz
llvm: switch to the official git repository
Until now an unoffcial mirror was used, which may or may not be maintained in the longer run, as the need for it has gone. Also, the official mirror has version tags which allows us to track upstream development in an automated manner. ${S} has changed as upstream decided to use a monorepo for all of the llvm-related projects. Further info: https://www.phoronix.com/scan.php?page=news_item&px=LLVM-GitHub-Mono-Repo https://llvm.org/docs/GettingStarted.html#checkout-llvm-from-git (From OE-Core rev: 18f565f3ca18c281b4a99721fcfcbcc5405d6346) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb14
1 files changed, 9 insertions, 5 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index eca78af09e..c68512cc63 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -19,20 +19,24 @@ PROVIDES += "llvm${PV}"
19LLVM_RELEASE = "${PV}" 19LLVM_RELEASE = "${PV}"
20LLVM_DIR = "llvm${LLVM_RELEASE}" 20LLVM_DIR = "llvm${LLVM_RELEASE}"
21 21
22SRCREV = "e5cc6808dc0d5b773479bf36c51d59d0d3174733" 22# SRCREV is set to the revision of 8.0.0-rc2 tag, while latest release
23BRANCH = "release_${MAJOR_VERSION}${MINOR_VERSION}" 23# tag is 7.0.1 as of Feb 18 2019, hence the need for UPSTREAM_CHECK_UNKNOWN
24# Remove the UPSTREAM_VERSION_UNKNOWN line once 8.0.0 final is tagged
25UPSTREAM_VERSION_UNKNOWN = "1"
26SRCREV = "98ebe7460199b9cd79eb562b5e8705ad28f5513f"
27
28BRANCH = "release/${MAJOR_VERSION}.x"
24MAJOR_VERSION = "8" 29MAJOR_VERSION = "8"
25MINOR_VERSION = "0" 30MINOR_VERSION = "0"
26PATCH_VERSION = "0" 31PATCH_VERSION = "0"
27SOLIBVER = "1" 32SOLIBVER = "1"
28PV = "${MAJOR_VERSION}.${MINOR_VERSION}" 33PV = "${MAJOR_VERSION}.${MINOR_VERSION}"
29SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH} \ 34SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \
30 file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ 35 file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
31 file://0002-llvm-allow-env-override-of-exe-path.patch \ 36 file://0002-llvm-allow-env-override-of-exe-path.patch \
32 " 37 "
33UPSTREAM_CHECK_COMMITS = "1"
34 38
35S = "${WORKDIR}/git" 39S = "${WORKDIR}/git/llvm"
36 40
37LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" 41LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
38 42