diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-05-25 12:48:35 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-06-05 05:57:12 -0700 |
| commit | 0163ea44215bd659abe056d2af26269b60d02ef1 (patch) | |
| tree | 810591d084dd04cbfb457966605177a9c4b57754 | |
| parent | ce5fdf4ff639e2ea3dec23d4a2fca524362c08b8 (diff) | |
| download | poky-0163ea44215bd659abe056d2af26269b60d02ef1.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)
(From OE-Core rev: 251d626a7d3cf6dfb3c0d8617f6cace666c7ea74)
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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -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 dfaa031012..4b6763e580 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" | |||
| 13 | RDEPENDS:${PN}:append:class-target = " ncurses-terminfo" | 13 | RDEPENDS:${PN}:append:class-target = " ncurses-terminfo" |
| 14 | 14 | ||
| 15 | inherit cmake pkgconfig | 15 | inherit cmake pkgconfig |
| 16 | |||
| 17 | # could be 'rcX' or 'git' or empty ( for release ) | 16 | # could be 'rcX' or 'git' or empty ( for release ) |
| 18 | VER_SUFFIX = "" | 17 | VER_SUFFIX = "" |
| 19 | 18 | ||
| 20 | PV = "18.1.5${VER_SUFFIX}" | 19 | PV .= "${VER_SUFFIX}" |
| 21 | 20 | ||
| 22 | MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" | 21 | MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" |
| 23 | 22 | ||
| 24 | LLVM_RELEASE = "${PV}" | 23 | LLVM_RELEASE = "${PV}" |
| 25 | 24 | ||
| 26 | BRANCH = "release/${MAJOR_VERSION}.x" | 25 | SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz \ |
| 27 | SRCREV = "617a15a9eac96088ae5e9134248d8236e34b91b1" | ||
| 28 | SRC_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 | " |
| 30 | SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56" | ||
| 33 | 31 | ||
| 34 | UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" | 32 | UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project" |
| 33 | UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" | ||
| 35 | 34 | ||
| 36 | S = "${WORKDIR}/git/llvm" | 35 | S = "${WORKDIR}/llvm-project-${PV}.src/llvm" |
| 37 | 36 | ||
| 38 | LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" | 37 | LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" |
| 39 | 38 | ||
