summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-08 08:16:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-13 15:42:27 +0100
commit397870f8ddeed5b977f36a92a459337c1a82d813 (patch)
tree60d814303b373cf651e1b7680367e9390af7479b
parent3f96e1a7348ec652318e0d4e3002e1d9255741c9 (diff)
downloadpoky-397870f8ddeed5b977f36a92a459337c1a82d813.tar.gz
llvm: Switch to using release tarballs
git checkouts are in excess of 3G, which is not ideal for everyone to download/clone, instead switch to fetching release tarball which is ~126M as of 18.1.5 release (From OE-Core rev: 800e6576e4f3af10846af13c2f217f986c1afdb4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/llvm/llvm_18.1.5.bb (renamed from meta/recipes-devtools/llvm/llvm_git.bb)13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_18.1.5.bb
index 6413b041a8..9c80b46b60 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_18.1.5.bb
@@ -13,27 +13,26 @@ DEPENDS = "libffi libxml2 zlib zstd libedit ninja-native llvm-native"
13RDEPENDS:${PN}:append:class-target = " ncurses-terminfo" 13RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
14 14
15inherit cmake pkgconfig 15inherit cmake pkgconfig
16
17# could be 'rcX' or 'git' or empty ( for release ) 16# could be 'rcX' or 'git' or empty ( for release )
18VER_SUFFIX = "" 17VER_SUFFIX = ""
19 18
20PV = "18.1.5${VER_SUFFIX}" 19PV .= "${VER_SUFFIX}"
21 20
22MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" 21MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
23 22
24LLVM_RELEASE = "${PV}" 23LLVM_RELEASE = "${PV}"
25 24
26BRANCH = "release/${MAJOR_VERSION}.x" 25SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz \
27SRCREV = "617a15a9eac96088ae5e9134248d8236e34b91b1"
28SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
29 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ 26 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
30 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ 27 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
31 file://llvm-config \ 28 file://llvm-config \
32 " 29 "
30SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56"
33 31
34UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" 32UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project"
33UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"
35 34
36S = "${WORKDIR}/git/llvm" 35S = "${WORKDIR}/llvm-project-${PV}.src/llvm"
37 36
38LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" 37LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
39 38