Commit Graph

697 Commits

Author SHA1 Message Date
Khem Raj
9a077b21d0 layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-01 19:04:45 -07:00
Steven Walter
0621067c56 Merge pull request #235 from janderholm/update-to-1.33.0
Update to rust version 1.33.0
2019-03-05 10:05:34 -05:00
Johan Anderholm
723e24bd9d Update to rust version 1.33.0 2019-03-02 07:28:09 +00:00
Steven Walter
f2f17c58b0 Merge pull request #234 from janderholm/master
Correct proxy variable
2019-02-28 11:39:42 -05:00
Johan Anderholm
68046d42b8 Correct proxy variable 2019-02-19 14:52:16 +00:00
Steven Walter
f4517aaba8 Merge pull request #232 from janderholm/update-to-1.32.0
Update to 1.32.0
2019-02-15 19:57:29 -05:00
Johan Anderholm
fa0aebc070 Disable http2 in cargo
Since 1.31.0 cargo requires curl to support http2. Enabling http2 in
curl results in a dependency loop. This commit disables the use of
multiplexing and http2.
2019-02-15 12:34:37 +00:00
Johan Anderholm
b3d1b589ee Update to rust version 1.32.0 2019-02-14 15:29:17 +00:00
Johan Anderholm
cb383b0d90 Remove rust 1.27.1 2019-02-14 15:29:17 +00:00
Johan Anderholm
9952633163 Use cargo version shipped with rust source
The source of cargo used in a release is shipped with the rust source.
Use this instead of the source from github to make sure cargo and rust
are always kept in sync.

This also makes updating rust version a bit easier.
2019-02-14 15:29:17 +00:00
Steven Walter
d537c62b4e Merge pull request #233 from YoeDistro/yoe/mut
rust-llvm: Update the sysroot patch to latest from meta-clang
2019-02-13 16:55:10 -05:00
Khem Raj
16d015a481 rust-llvm: Update the sysroot patch to latest from meta-clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-13 13:24:23 -08:00
Steven Walter
8b7d6201b6 Merge pull request #228 from dandedrick/thumb-fix
rust: don't configure thumb if not in TUNE_FEATURES
2019-01-16 11:48:54 -05:00
Dan Dedrick
e7c10de555 rust: don't configure thumb if not in TUNE_FEATURES
ARM_INSTRUCTION_SET, and therefore ARM_THUMB_OPT also, expect to only be
used in conjunction with the thumb TUNE_FEATURES. So thumb-mode should only
be added if thumb is in TUNE_FEATURES and ARM_THUMB_OPT is thumb.

The commit https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/machine/include/arm/arch-armv7a.inc?id=3e7d26e31a724009e69788460737e07163a14051
caused armv7a.inc to set ARM_INSTRUCTION_SET to thumb and the commit
message explicitly states that the change should have no effect unless
TUNE_FEATURES also includes thumb. This change to rust will allow that
assumption to continue to be true.
2019-01-14 15:58:54 -05:00
Steven Walter
e357f4e5d5 Merge pull request #227 from janderholm/master
Set proxy in cargo if available
2019-01-13 12:59:58 -05:00
Johan Anderholm
9ecc36acb5 Set proxy in cargo if available
This is needed for cargo to use proxies set by bitbake. It is important
for devtooled builds which does not use vendored sources.
2019-01-13 10:45:01 +01:00
Steven Walter
4110f1d92a Merge pull request #226 from Fulkerson/master
Update to rust version 1.31.1
2019-01-03 14:37:45 -05:00
Johan Anderholm
496b75fa1f Update to rust version 1.31.1
Also make use of the sources vendored in the rustc package instead of
letting bitbake download the sources.
2019-01-03 17:31:46 +01:00
Steven Walter
e4fdc0e8f7 Merge pull request #225 from YoeDistro/yoe/mut
rust-cross: Add ppc support
2018-12-27 21:02:39 -05:00
Khem Raj
bf01840f5b rust-cross: Add riscv64 data layout information
clang --target=riscv64  -emit-llvm -S -x c /dev/null -o aaa |  cat aaa | grep "target datalayout"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-26 14:52:22 -08:00
Khem Raj
1b00814593 rust-cross: Add mips64 data layout llvm specifications
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-26 14:52:22 -08:00
Khem Raj
68d6bce609 rust-cross: Add ppc support
This ensures that rust-cross can be compiled for ppc arch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-26 14:52:18 -08:00
Steven Walter
969467c029 Merge pull request #222 from YoeDistro/yoe/mut
libstd-rs: Depend on libunwind on musl builds
2018-12-17 13:05:37 -05:00
Khem Raj
665213a13d libstd-rs: Depend on libunwind on musl builds
musl builds need libunwind.a to be in sysroot for libstd-rs to build
unwinding support into it. This also means we need to compile libunwind
with --enable-static in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05 16:13:21 -08:00
Doug Goldstein
4c9068bd09 Merge pull request #216 from hongxu-jia/master
cargo_common.bbclass: fix bashism
2018-11-23 16:46:58 -06:00
Hongxu Jia
3b9251e732 cargo_common.bbclass: fix bashism
While /bin/sh -> dash, var-EXTERNALSRC didn't work

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-11-20 22:10:18 +08:00
Derek Straka
ea613e2ae2 Merge pull request #212 from OSSystems/master
Use libssh2 from system and upgrade cargo to 0.31.0
2018-11-13 08:46:41 -05:00
Derek Straka
e660179c55 Merge branch 'master' into master 2018-11-12 21:30:03 -05:00
Derek Straka
318a4c6f25 Merge pull request #215 from myagley/miyagley/cxxflags
Fix TARGET_CXXFLAGS in cargo_common
2018-11-12 21:29:47 -05:00
Mike Yagley
c7fc7986c2 Fix TARGET_CXXFLAGS in cargo_common 2018-11-12 13:44:02 -08:00
Derek Straka
50828f8af2 Merge branch 'master' into master 2018-11-12 10:11:32 -05:00
Derek Straka
adf3f10036 Merge pull request #214 from YoeDistro/yoe/mut
Fix building llvm (inspirations from meta-clang)
2018-11-12 10:11:11 -05:00
Khem Raj
446d28d6e1 rust: Use llvm-rust-native and env variables to configure llvm-config
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-09 22:53:49 -08:00
Khem Raj
b15ba05ea8 rust-llvm: Make llvm-config cross compile friendly
Import patches from clang layer to ensure that llvm-config
can be provided configs from environment

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-09 22:52:05 -08:00
Otavio Salvador
f54025fed9 cargo: Add 0.31.0 recipe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-09 08:06:29 -02:00
Otavio Salvador
f317737fae cargo: Ensure libssh2 from system is used
This forces the use of libssh2 by exporting the
LIBSSH2_SYS_USE_PKG_CONFIG environment variable.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-05 14:33:01 -02:00
Khem Raj
e04d99bf38 rust-llvm: Fix build with OE-core master
Disable libxml2 explicitly
Disable building hosttools on target build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 15:05:17 -07:00
Derek Straka
6b060617cd Merge pull request #210 from alimon/master
conf/layer.conf: Add thud to the LAYERSERIES_COMPAT
2018-10-20 13:35:39 -04:00
Aníbal Limón
99ec7396f6 conf/layer.conf: Add thud to the LAYERSERIES_COMPAT
To support current master builds.

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2018-10-19 19:48:18 -05:00
Derek Straka
f81fbebaeb Merge pull request #206 from srwalter/disable-llvm-assertions
rust-llvm: correctly disable assertions
2018-08-11 07:42:08 -04:00
Steven Walter
5a9933dd46 rust-llvm: correctly disable assertions
We were already trying to disable assertions, but it wasn't working.
rust-llvm now configures assertions based on the CMAKE_BUILD_TYPE.
Setting that to "Release" causes assertions to be disabled, which is
what we want.
2018-08-08 12:37:17 -04:00
Derek Straka
badf251873 Merge pull request #205 from tylerwhall/remap-path-prefix
rust-common: fix remap-path-prefix for 1.26
2018-07-23 11:59:53 -04:00
Tyler Hall
060e033df9 rust-common: fix remap-path-prefix for 1.26
Before the flag was stabilized, it required two arguments of the form
"from=<from_path>" and "to=<to_path>" respectively. The stabilized
version uses one argument of the form "<from_path>=<to_path>".

Unfortunately the old format is still parsed successfully, but results
in attempting to replace the literal paths "from" and "to".

https://github.com/rust-lang/rust/issues/41555#issuecomment-320951103
2018-07-22 15:48:46 -04:00
Derek Straka
6d3f61e5ce Merge pull request #202 from Fulkerson/1.27.1
Bump to Rust 1.27.1
2018-07-18 12:34:17 -04:00
Johan Anderholm
bbf4f77f98 Bump to Rust 1.27.1 2018-07-18 08:15:34 +02:00
Steven Walter
b7380307d0 Merge pull request #204 from meta-rust/allow-overriding-libstd-features
libstd-rs: use a separate variable for --features
2018-07-16 12:04:30 -04:00
Steven Walter
8b471a1bdc libstd-rs: use a separate variable for --features
This will allow features to be easily modified through a bbappend file
in another layer.
2018-07-16 09:09:10 -04:00
Derek Straka
b82e450b5a Merge pull request #201 from meta-rust/fix-debug
libstd-rs: support debug builds
2018-07-12 17:09:33 -04:00
Steven Walter
cef09a5551 libstd-rs: support debug builds 2018-07-12 11:03:16 -04:00
Derek Straka
6052c90ca8 Merge pull request #199 from Fulkerson/fixes
Various fixes, Clang, TCLIBC, DEBUG_BUILD, rocko
2018-07-07 11:46:53 -04:00