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
Johan Anderholm
8e6c6271fc
Handle env and llvm-target for musl
...
Further changes needed for musl to work.
env needs to be set to "musl" for unwinding work properly.
Also the llvm target should end with "-musl" and not "-gnu".
2018-07-06 19:34:33 +02:00
Johan Anderholm
6066f1d2df
Corrected target-c-int-width
...
The correct value for x86_64 and aarch64 is 32
2018-07-06 19:34:33 +02:00
Johan Anderholm
d3bdd55c03
Add rocko as compatible version
...
The master branch is still compatible with rocko.
2018-07-06 19:34:33 +02:00
Johan Anderholm
6a0d148968
Make it possible to build with TCLIBC="musl" (musl as libc)
2018-07-06 19:34:33 +02:00
Johan Anderholm
e1fa6d39ce
Don't install rust-llvm system-wide
...
Put rust-llvm into a directory of it's own. This avoids conflicts
between the official llvm and rusts temporary one. It solves
interoperability issues with meta-clang.
Use /usr/lib/llvm-rust/ as prefix because that matches what llvm does
themselves on debian and ubuntu.
2018-07-06 19:30:36 +02:00
Johan Anderholm
de42179513
cargo.bbclass: Make release mode optional
...
Use DEBUG_BUILD to determine if cargo should build with --release or
not. Set DEBUG_BUILD="1" in a recipe to build it without --release.
2018-07-06 19:30:36 +02:00
Derek Straka
9b1b4db8b0
Merge pull request #192 from Fulkerson/master
...
Bump to Rust 1.26.2
2018-07-06 10:14:47 -04:00
Johan Anderholm
03d8fb472c
Bump to Rust 1.26.2
...
Remove old versions because they are not compatible with the changes in
rust-common.bbclass
2018-06-16 09:50:47 +02:00
Derek Straka
b117a311ef
Merge pull request #198 from cardoe/remove-recipes-core
...
remove recipes-core & recipes-graphics
2018-05-31 16:45:34 -04:00
Doug Goldstein
55e9c18a37
remove recipes-core & recipes-graphics
...
Remove these recipes as I do not believe they are functional since the
fixes for #126 were done (removing the modifications to the compiler to
allow them to be used). #197 additionally points out that rand-rs has
not had a valid commit hash and most of these in some way depend on that
so these cannot possibly work in their current form. Removing per #102 .
Fixes #102 .
2018-05-30 13:38:21 -05:00
Derek Straka
7cfa3db4f6
Merge pull request #194 from agherzan/ag_compat
...
layer.conf: Define LAYERSERIES_COMPAT to fix build warning
2018-05-22 09:41:30 -04:00
Derek Straka
63aa6db53a
Merge pull request #196 from srwalter/devtool
...
cargo_common.bbclass: improve operation with devtool
2018-05-20 11:21:49 -04:00
Steven Walter
48e2a7db25
cargo_common.bbclass: improve operation with devtool
...
Because devtool inhibits all the normal bitbake fetchers, we can't mask crates.io.
Use EXTERNALSRC to detect if we're being built with devtool, and only mask
crates.io if we're not.
Fixes #195
2018-05-19 10:16:55 -04:00
Andrei Gherzan
ab62d9cdbf
layer.conf: Define LAYERSERIES_COMPAT to fix build warning
...
Signed-off-by: Andrei Gherzan <andrei@resin.io >
2018-05-14 18:24:55 +01:00