Import Rust 1.58.1 recipes from openembedded-core, remove Rust 1.51.0.

This commit is contained in:
Colin Finck
2022-01-21 13:17:43 +01:00
parent d4384db8c3
commit d0044639fe
36 changed files with 259 additions and 535 deletions
+8 -1
View File
@@ -1,7 +1,9 @@
SUMMARY = "LLVM compiler framework (packaged with rust)"
LICENSE ?= "Apache-2.0-with-LLVM-exception"
HOMEPAGE = "http://www.rust-lang.org"
SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2"
SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2"
S = "${RUSTSRC}/src/llvm-project/llvm"
@@ -14,6 +16,11 @@ DEPENDS += "ninja-native rust-llvm-native"
ARM_INSTRUCTION_SET:armv5 = "arm"
ARM_INSTRUCTION_SET:armv4t = "arm"
# rustc_llvm with debug info is not recognized as a valid crate that's
# generated by rust-llvm-native.
CFLAGS:remove = "-g"
CXXFLAGS:remove = "-g"
LLVM_DIR = "llvm${LLVM_RELEASE}"
EXTRA_OECMAKE = " \