rust-llvm: stop using shared source
Convert rust-llvm to not use the shared source setup and instead use its own extracted directory. Include the version info in the bitbake file so that in the future we can support multiple versions via a PREFERRED_VERSIONS variable.
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
require rust-llvm.inc
|
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa"
|
|
||||||
|
|
||||||
do_install_append () {
|
|
||||||
cd "${B}"
|
|
||||||
install -d "${D}${bindir}"
|
|
||||||
install -m755 "Release/bin/FileCheck" "${D}${bindir}"
|
|
||||||
}
|
|
||||||
@@ -1,9 +1,14 @@
|
|||||||
require rust-shared-source.inc
|
|
||||||
|
|
||||||
SUMMARY = "LLVM compiler framework (packaged with rust)"
|
SUMMARY = "LLVM compiler framework (packaged with rust)"
|
||||||
LICENSE = "NCSA"
|
LICENSE = "NCSA"
|
||||||
|
|
||||||
S .= "/src/llvm"
|
SRC_URI = "\
|
||||||
|
https://static.rust-lang.org/dist/rustc-${PV}-src.tar.gz;name=rust \
|
||||||
|
file://rust-llvm/0001-Don-t-build-unittests.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/rustc-${PV}/src/llvm"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
require rust-llvm.inc
|
||||||
|
|
||||||
|
SRC_URI[rust.md5sum] = "a48fef30353fc9daa70b484b690ce5db"
|
||||||
|
SRC_URI[rust.sha256sum] = "a4015aacf4f6d8a8239253c4da46e7abaa8584f8214d1828d2ff0a8f56176869"
|
||||||
|
|
||||||
|
do_install_append () {
|
||||||
|
cd "${B}"
|
||||||
|
install -d "${D}${bindir}"
|
||||||
|
install -m755 "Release/bin/FileCheck" "${D}${bindir}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user