diff --git a/recipes-devtools/rust/rust-llvm.bb b/recipes-devtools/rust/rust-llvm.bb deleted file mode 100644 index 62fb3d4..0000000 --- a/recipes-devtools/rust/rust-llvm.bb +++ /dev/null @@ -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}" -} diff --git a/recipes-devtools/rust/rust-llvm.inc b/recipes-devtools/rust/rust-llvm.inc index 0ed6096..3c94492 100644 --- a/recipes-devtools/rust/rust-llvm.inc +++ b/recipes-devtools/rust/rust-llvm.inc @@ -1,9 +1,14 @@ -require rust-shared-source.inc - SUMMARY = "LLVM compiler framework (packaged with rust)" 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 diff --git a/recipes-devtools/rust/rust-llvm_1.10.0.bb b/recipes-devtools/rust/rust-llvm_1.10.0.bb new file mode 100644 index 0000000..36a8212 --- /dev/null +++ b/recipes-devtools/rust/rust-llvm_1.10.0.bb @@ -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}" +}