From 1781289b683fc6ac1a620bbe36f669c905b0f4c7 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 20 Feb 2019 21:10:24 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/llvm/llvm_git.bb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'meta/recipes-devtools/llvm/llvm_git.bb') 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}" LLVM_RELEASE = "${PV}" LLVM_DIR = "llvm${LLVM_RELEASE}" -SRCREV = "e5cc6808dc0d5b773479bf36c51d59d0d3174733" -BRANCH = "release_${MAJOR_VERSION}${MINOR_VERSION}" +# SRCREV is set to the revision of 8.0.0-rc2 tag, while latest release +# tag is 7.0.1 as of Feb 18 2019, hence the need for UPSTREAM_CHECK_UNKNOWN +# Remove the UPSTREAM_VERSION_UNKNOWN line once 8.0.0 final is tagged +UPSTREAM_VERSION_UNKNOWN = "1" +SRCREV = "98ebe7460199b9cd79eb562b5e8705ad28f5513f" + +BRANCH = "release/${MAJOR_VERSION}.x" MAJOR_VERSION = "8" MINOR_VERSION = "0" PATCH_VERSION = "0" SOLIBVER = "1" PV = "${MAJOR_VERSION}.${MINOR_VERSION}" -SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH} \ +SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \ file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ file://0002-llvm-allow-env-override-of-exe-path.patch \ " -UPSTREAM_CHECK_COMMITS = "1" -S = "${WORKDIR}/git" +S = "${WORKDIR}/git/llvm" LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" -- cgit v1.2.3-54-g00ecf