Merge pull request #257 from alistair23/alistair/python3-update

rust: Use Python3 native for build
This commit is contained in:
Steven Walter
2020-02-08 11:36:06 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ S = "${RUSTSRC}/src/llvm-project/llvm"
LIC_FILES_CHKSUM ?= "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa"
inherit cmake pythonnative
inherit cmake python3native
DEPENDS += "ninja-native rust-llvm-native"
+2 -2
View File
@@ -6,7 +6,7 @@ LICENSE = "MIT | Apache-2.0"
inherit rust
inherit cargo_common
DEPENDS += "file-native python-native"
DEPENDS += "file-native python3-native"
DEPENDS_append_class-native = " rust-llvm-native"
# We generate local targets, and need to be able to locate them
@@ -474,7 +474,7 @@ rust_runx () {
oe_cargo_fix_env
python src/bootstrap/bootstrap.py "$@" --verbose
python3 src/bootstrap/bootstrap.py "$@" --verbose
}
do_compile () {