summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/clang/clang.inc4
-rw-r--r--recipes-devtools/clang/common.inc6
2 files changed, 5 insertions, 5 deletions
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc
index 7918626..fee08b4 100644
--- a/recipes-devtools/clang/clang.inc
+++ b/recipes-devtools/clang/clang.inc
@@ -1,8 +1,7 @@
1LLVM_RELEASE = "" 1LLVM_RELEASE = ""
2LLVM_DIR = "llvm${LLVM_RELEASE}" 2LLVM_DIR = "llvm${LLVM_RELEASE}"
3 3
4LLVM_GIT ?= "git://github.com/llvm" 4LLVM_HTTP ?= "https://github.com/llvm"
5LLVM_GIT_PROTOCOL ?= "https"
6 5
7MAJOR_VER = "18" 6MAJOR_VER = "18"
8MINOR_VER = "1" 7MINOR_VER = "1"
@@ -12,7 +11,6 @@ VER_SUFFIX = ""
12SRCREV ?= "617a15a9eac96088ae5e9134248d8236e34b91b1" 11SRCREV ?= "617a15a9eac96088ae5e9134248d8236e34b91b1"
13 12
14PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}${VER_SUFFIX}" 13PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}${VER_SUFFIX}"
15BRANCH = "release/18.x"
16 14
17LLVMMD5SUM = "8a15a0759ef07f2682d2ba4b893c9afe" 15LLVMMD5SUM = "8a15a0759ef07f2682d2ba4b893c9afe"
18CLANGMD5SUM = "ff42885ed2ab98f1ecb8c1fc41205343" 16CLANGMD5SUM = "ff42885ed2ab98f1ecb8c1fc41205343"
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc
index a8a9929..db3ae0a 100644
--- a/recipes-devtools/clang/common.inc
+++ b/recipes-devtools/clang/common.inc
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://llvm/LICENSE.TXT;md5=${LLVMMD5SUM} \
5" 5"
6LICENSE = "Apache-2.0-with-LLVM-exception" 6LICENSE = "Apache-2.0-with-LLVM-exception"
7 7
8BASEURI ??= "${LLVM_GIT}/llvm-project.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH}" 8BASEURI = "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz"
9SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56"
10
9SRC_URI = "\ 11SRC_URI = "\
10 ${BASEURI} \ 12 ${BASEURI} \
11 file://llvm-config \ 13 file://llvm-config \
@@ -48,7 +50,7 @@ SRC_URI = "\
48# Fallback to no-PIE if not set 50# Fallback to no-PIE if not set
49GCCPIE ??= "" 51GCCPIE ??= ""
50 52
51S = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/git" 53S = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/llvm-project-${PV}.src"
52B = "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}" 54B = "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
53 55
54# We need to ensure that for the shared work directory, the do_patch signatures match 56# We need to ensure that for the shared work directory, the do_patch signatures match