Doug Goldstein
bb41c50510
compiler-rt: drop unused bits
...
Since 1db27bc4f7 this file is unused and should have been deleted with
that commit.
2017-06-21 11:50:30 -05:00
Derek Straka
c29ada51f1
Merge pull request #160 from cardoe/master-drop-rust-1.12
...
drop Rust 1.12.1 and Cargo 0.13
2017-06-20 11:28:36 -04:00
Doug Goldstein
1db27bc4f7
drop Rust 1.12.1 and Cargo 0.13
...
In keeping with our Rust supported releases schedule at
https://github.com/meta-rust/meta-rust/wiki this drops Rust 1.12.1 and
its cooresponding Cargo release.
2017-06-18 11:17:30 -05:00
Cody Schafer
4dcaaa8fc9
Merge pull request #156 from bkylerussell/native-fixes
...
rust-llvm: Drop unnecessary native customization
2017-04-19 15:48:22 -04:00
Kyle Russell
027b7aeeb0
rust-llvm: Fix bad license checksum for 1.15.1
2017-04-19 13:43:47 -04:00
Kyle Russell
8e28683458
rust-llvm: Drop unnecessary native customization
...
This is already accounted for by the LLVM CMake files, assuming
CMAKE_CROSSCOMPILING is set correctly, which is fixed in the upstream
cmake.bbclass.
http://git.openembedded.org/openembedded-core/commit/?id=bd082c9be6191e67ea1b1bf10ce5e130a3433ab5
2017-04-19 08:21:54 -04:00
Derek Straka
394ad27929
Merge pull request #148 from cardoe/rust-1.15.0
...
bump to Rust 1.15.1
2017-03-10 16:23:41 -05:00
Doug Goldstein
1820907990
compiler-rt: remove standalone build for Rust 1.15
...
From Rust 1.15 a standalone build of compiler-rt is no longer necessary.
2017-03-07 20:25:13 -06:00
Doug Goldstein
5a9614f91a
bump to Rust 1.15.1
2017-03-07 19:19:00 -06:00
Derek Straka
f851e8f185
Bump to Cargo 0.16.0 for Rust 1.15.x
...
Signed-off-by: Derek Straka <derek@asterius.io >
2017-03-07 16:30:26 -06:00
Doug Goldstein
bc04c2ea4a
libstd-rs: move depends out of the shared file
...
Technically these dependencies change between versions. It just happens
that these two versions didn't change the dependencies but future
versions will so preemptively make the adjustment.
2017-03-07 14:41:13 -06:00
Derek Straka
64cdd4b714
Update the source paths for each item
...
The path to the rust source changes from 1.15 so preemptively make
changes to prepare for that.
Signed-off-by: Derek Straka <derek@asterius.io >
Signed-off-by: Doug Goldstein <cardoe@cardoe.com >
2017-03-07 14:41:13 -06:00
Doug Goldstein
502fc9b1d1
Merge pull request #149 from derekstraka/add-sstate
...
Add the ability to use and store build cache artifacts
2017-02-14 13:29:59 -06:00
Derek Straka
0adcc6e0bc
Add the ability to use and store build cache artifacts
...
Signed-off-by: Derek Straka <derek@asterius.io >
2017-02-14 12:44:11 -05:00
Derek Straka
efae1a8bd0
Merge pull request #146 from srwalter/fix-rust-bin
...
Fix rust-bin.bbclass
2017-02-02 18:27:32 -05:00
Steven Walter
1eb86e935c
rust-bin: fix recent breakage
...
The crate_hash flag is no longer accepted on rust 1.14. Additionally,
due to the use of wrapper scripts by cargo, we were no longer able to
link correctly due to some link flags getting dropped. Fix that as well
2017-02-02 10:02:11 -05:00
Doug Goldstein
f0e0b3b7e2
Merge pull request #145 from srwalter/fix-llvm-build-race
...
rust-llvm.inc: work around build race
2017-01-31 13:04:13 -06:00
Steven Walter
3276afb4ec
rust-llvm.inc: work around build race
...
The way LLVM builds its native utilities is not safe (it runs a
recursive cmake in the same work directory as the main instance). To
prevent those instances from stepping on each other, we'll build the two
native utilities separately before starting the main build.
Fixes issue #143
2017-01-31 08:23:55 -05:00
Derek Straka
a58ea82720
Merge pull request #142 from cardoe/rust-1.14.0
...
bump to Rust 1.14.0
2017-01-30 14:40:18 -05:00
Doug Goldstein
22c971c2fa
bump to Rust 1.14.0
2017-01-30 10:16:39 -06:00
Doug Goldstein
5d2e062a84
rust: move versioned files into .inc
...
This way we can bump the versions without big diffs.
2017-01-30 10:14:29 -06:00
Derek Straka
97fcc5db56
rust: update the cpu selection to use PACKAGE_ARCH to ensure older processors can run created executables when building targets that have newer features
...
Signed-off-by: Derek Straka <derek@asterius.io >
2017-01-04 17:15:07 -05:00
Derek Straka
2a21657363
Merge pull request #135 from cardoe/readme-updates
...
README: swath of updates to reflect the current state
2017-01-02 14:00:39 -05:00
Doug Goldstein
d867f3d470
fetch: fix check for local ref path
...
This is a fast case if the slave has a local checkout available so that
it doesn't have to do a full clone. The check unfortunately didn't take
into account all cases and failed on the new slave.
2017-01-02 08:16:28 -06:00
Doug Goldstein
f43eadc581
README: swath of updates to reflect the current state
2016-12-29 11:55:01 -06:00
Derek Straka
bf4cdaf0a7
Merge pull request #133 from cardoe/drop-unused-patches-more
...
rust: remove unused patches
2016-12-29 08:25:13 -05:00
Doug Goldstein
4ccca55f2f
rust: remove unused patches
...
This patches handle changing the directories that things are installed
in but appear to be unused. They were likely used before rust-cross was
split out to not install files.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com >
2016-12-28 18:42:10 -06:00
Doug Goldstein
e6b757111a
Merge pull request #132 from cardoe/drop-unused-patch
...
rust: drop unnecessary patch
2016-12-28 10:28:58 -06:00
Doug Goldstein
c19badf635
rust: drop unnecessary patch
...
Not sure what version this patch appears to have become unnecessary but
I verified it by checking the output in
build/tmp/sstate-control/manifest-x86_64-rust-native.populate_sysroot
and the installed files and their paths didn't change with and without
this patch.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com >
2016-12-27 11:36:36 -06:00
Doug Goldstein
247bb57c84
scripts/fetch: add missing die statement
...
Noticed this while the Yocto Project's git server was down for
maintenance.
2016-12-27 10:47:03 -06:00
Leon Anavi
abe20ca06f
compiler-rt: fix toolchain installer
...
Fix building a toolchain installer with bitbake
-c populate_sdk in packages compiler-rt,
compiler-rt-dev and compiler-rt-staticdev.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com >
(cherry picked from commit fcbebdf58f )
2016-12-27 00:03:15 -06:00
Derek Straka
185e29e4e1
Merge pull request #128 from cardoe/for-pyro
...
drop Rust 1.10.0
2016-12-08 10:37:04 -05:00
Doug Goldstein
94aa1405e3
rustfmt: update to use Cargo 0.13.0 fetching
2016-12-07 15:14:10 -06:00
Doug Goldstein
04bd03be1e
libstd-rs: update to use Cargo 0.13.0 fetching
2016-12-07 15:14:10 -06:00
Doug Goldstein
84af8005f3
cargo: update to use Cargo 0.13.0 fetching
2016-12-07 15:14:10 -06:00
Doug Goldstein
339cc787cc
drop the old fetch behavior for pre Cargo 0.13.0
...
This behavior is flakey and doesn't work from Cargo 0.13.0 and newer
which aren't part of this repo anymore.
2016-12-07 08:52:03 -06:00
Doug Goldstein
ac5d169623
Remove Rust 1.10.0 / Cargo 0.11.0
2016-12-07 08:51:10 -06:00
Doug Goldstein
c05b6b4c30
Merge pull request #117 from derekstraka/update-getvar
...
getVar will expand by default, so the 'True' option is no longer required
2016-12-07 08:50:09 -06:00
Derek Straka
52c0f97ff6
getVar will expand by default, so the 'True' option is no longer required
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-12-06 16:08:41 -05:00
Derek Straka
85d411c81c
Jenkinsfile: swap back to using master
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-12-06 16:07:46 -05:00
Doug Goldstein
84d9d2da0a
Merge pull request #127 from meta-rust/workaround-crasher
...
workaround bug in the -C crate_hash option
2016-12-06 14:20:18 -06:00
Doug Goldstein
1f18869377
workaround bug in the -C crate_hash option
...
The -C crate_hash option does not work if multiple versions of the same
crate are being linked into a binary. This can happen if different
dependencies depend on different versions of the same crate. The -C
crate_hash argument causes all versions of a given crate to have the
same crate hash which in turn causes the compiler to select the wrong
one internally and crash. This works around issue #126 for Cargo builds
but does not fix the underlying cause.
2016-12-06 11:08:46 -06:00
Derek Straka
65ae954a80
Merge pull request #124 from cardoe/misc-updates
...
Misc updates
2016-12-05 15:54:38 -05:00
Doug Goldstein
0340c31a42
fix bad engrish
2016-12-05 10:55:14 -06:00
Doug Goldstein
d364837120
merge rust-vars and rust-triples to rust-common
...
Merge two bbclasses that were included in the same places so merge it
into one common file.
2016-12-05 10:55:14 -06:00
Doug Goldstein
43c139f131
rust: remove --disable-static only for rust
...
Only remove --disable-static from OECONF for things built from the rust
source and not things inheriting rust.
2016-12-05 10:55:14 -06:00
Doug Goldstein
487e670b9b
crate.py: use BPN instead of PN
...
If we don't use BPN then native packages will not extract correct since
PN will be something-native and we won't extract the something crate to
${S}.
2016-12-05 10:55:14 -06:00
Doug Goldstein
6083dff0b6
drop rust-installer.bbclass
...
This is only necessary for installations of rust so move the actual
functional bits into the do_install() phase of rust.
2016-12-05 10:55:14 -06:00
Doug Goldstein
03496f658f
cargo: use install targets to avoid rust-installer
...
This install target is used by Gentoo to avoid needing rust-installer.
2016-12-05 10:55:13 -06:00
Derek Straka
9da0d2f687
Merge pull request #97 from cardoe/rust-1.12.0
...
Rust 1.12.1
2016-12-04 10:04:28 -05:00