diff options
-rw-r--r-- | recipes-devtools/clang/clang.inc | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/common.inc | 6 |
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 @@ | |||
1 | LLVM_RELEASE = "" | 1 | LLVM_RELEASE = "" |
2 | LLVM_DIR = "llvm${LLVM_RELEASE}" | 2 | LLVM_DIR = "llvm${LLVM_RELEASE}" |
3 | 3 | ||
4 | LLVM_GIT ?= "git://github.com/llvm" | 4 | LLVM_HTTP ?= "https://github.com/llvm" |
5 | LLVM_GIT_PROTOCOL ?= "https" | ||
6 | 5 | ||
7 | MAJOR_VER = "18" | 6 | MAJOR_VER = "18" |
8 | MINOR_VER = "1" | 7 | MINOR_VER = "1" |
@@ -12,7 +11,6 @@ VER_SUFFIX = "" | |||
12 | SRCREV ?= "617a15a9eac96088ae5e9134248d8236e34b91b1" | 11 | SRCREV ?= "617a15a9eac96088ae5e9134248d8236e34b91b1" |
13 | 12 | ||
14 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}${VER_SUFFIX}" | 13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}${VER_SUFFIX}" |
15 | BRANCH = "release/18.x" | ||
16 | 14 | ||
17 | LLVMMD5SUM = "8a15a0759ef07f2682d2ba4b893c9afe" | 15 | LLVMMD5SUM = "8a15a0759ef07f2682d2ba4b893c9afe" |
18 | CLANGMD5SUM = "ff42885ed2ab98f1ecb8c1fc41205343" | 16 | CLANGMD5SUM = "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 | " |
6 | LICENSE = "Apache-2.0-with-LLVM-exception" | 6 | LICENSE = "Apache-2.0-with-LLVM-exception" |
7 | 7 | ||
8 | BASEURI ??= "${LLVM_GIT}/llvm-project.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH}" | 8 | BASEURI = "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz" |
9 | SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56" | ||
10 | |||
9 | SRC_URI = "\ | 11 | SRC_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 |
49 | GCCPIE ??= "" | 51 | GCCPIE ??= "" |
50 | 52 | ||
51 | S = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/git" | 53 | S = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/llvm-project-${PV}.src" |
52 | B = "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 54 | B = "${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 |