Steven Walter
8d6c809833
Add recipes for sdl2-ttf-rs
2016-08-29 21:11:42 -04:00
Steven Walter
cc5832d4be
Add recipes for sdl2-rs
2016-08-29 21:11:42 -04:00
Steven Walter
c4a8abed21
Add recipe for lazy-static
2016-08-29 21:11:42 -04:00
Steven Walter
62b3ed7895
Add recipes for num crate
2016-08-29 21:11:42 -04:00
Steven Walter
c5978989a7
Add recipe for bitflags
2016-08-29 21:11:42 -04:00
Steven Walter
21c12a3c3b
Merge pull request #67 from srwalter/rust-1.10.0
...
Upgrade rust to 1.10.0
2016-08-29 21:11:00 -04:00
Steven Walter
9864e47b14
Merge pull request #1 from tylerwhall/rust-1.10.0
...
cargo: update to 0.11.0
2016-08-28 23:18:07 -04:00
Tyler Hall
44bc6fd31f
cargo: update to 0.11.0
...
This is the compatible version shipped with Rust 1.10.0. Use the git
hash from the release TOML file so there is no ambiguity.
Update git2 and curl dependencies and patches to match those in
Cargo.lock.
2016-08-28 23:05:27 -04:00
Steven Walter
5eeb74ed5e
memchr-rs: upgrade to 0.1.11
...
The old version no longer builds against the newer libc package
2016-08-28 14:59:03 -04:00
Steven Walter
1df6619559
rand: upgrade to 0.3.14
...
Needed to build under 1.10.0
2016-08-28 14:58:14 -04:00
Steven Walter
02962e7c70
rustc-serialize: upgrade to 0.3.19
...
Needed to build under 1.10.0
2016-08-28 14:58:14 -04:00
Steven Walter
0a1d85272d
Revert "rust: drop unnecessary data layout targets"
...
Rust 1.10.0 requires the data-layout field
This reverts commit d749cbb98a .
2016-08-28 14:58:14 -04:00
Steven Walter
3d0fab8860
Rework support for downloading the stage0 rustc
...
Rust does something fairly different than in 1.7. Instead of just
expecting the tarball to exist, it either expects an already extracted
and ready toolchain, or else it does everything itself.
To work with that, we'll always pass --use-local-rust to ./configure so
that bootstrap.py doesn't try to download anything. We'll either
download and setup a snapshot ourselves, or use the system rust, based
on PACKAGECONFIG[local-rust] as before
2016-08-28 14:58:14 -04:00
Steven Walter
b708837c7c
rust-llvm: skip unittests
...
These fail to build, apparently because some files do not include the
appropriate headers, e.g. <mutex> and <condition_variable>
2016-08-28 14:58:14 -04:00
Steven Walter
ec3cbddb38
Rebase patches for 1.10.0
2016-08-28 14:57:48 -04:00
Doug Goldstein
15bb60780a
Merge pull request #66 from meta-rust/random-number-backport
...
rust: add a backport fix to use /dev/urandom in cases where the random pool isn't yet initialized
2016-08-18 20:04:05 -04:00
Derek Straka
344fd5eec5
rust: add a backport fix to use /dev/urandom in cases where the random pool isn't yet initialized
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-18 13:18:38 -04:00
Cody Schafer
8dae8b4f85
Merge pull request #64 from jmesmon/cody/fix-S-removal-in-unpack
...
rustc: fix use of shared source for new poky/oe-core which wipes ${S}
2016-08-15 14:23:30 -04:00
Cody P Schafer
487205331b
rustc: fix use of shared source for new poky/oe-core which wipes ${S}
...
The oe-core/poky change 'base.bbclass wipe ${S} before unpacking
source' (poky: a56fb90dc3805494eeaf04c60538425e8d52efc5, oe-core:
eccae514b71394ffaed8fc45dea7942152a334a1) wipes ${S} in do_unpack prior
to unpacking. This breaks our shared source as we set ${S} to the shared
location, and don't actually unpack anything (the result is we try to
build rustc without any source code, which fails predictably)
Avoid this by clearing do_unpack[cleandirs].
At the same time take pieces of gcc-shared-source.inc and note how & why
we differ from how gcc operates.
This is a bit of a hack, and only happens to work because we know the
exact method that do_unpack uses to clear ${S}, and using python()
happens to get called at the "right time".
2016-08-10 00:58:09 -04:00
Doug Goldstein
64074c9e55
Merge pull request #63 from starlab-io/rust-cleanup
...
Miscellaneous cleanups for support recipes
2016-08-04 08:35:42 -05:00
Derek Straka
7c494d94f0
rust: resolve issues with conflicted linking between host and target libs
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-03 07:31:19 -04:00
Derek Straka
03b4c9086e
libgit2: update to version 0.24.1
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 12:40:06 -04:00
Derek Straka
7519c8a6b3
libgit2: remote support for outdated version of the library
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:51:32 -04:00
Derek Straka
01f7eb256b
libgit2: remove support for git version of the library
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:51:09 -04:00
Derek Straka
b139bbc514
libgit2: remove obsolete items from common inc
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:49:55 -04:00
Derek Straka
0992dbb4bc
remove duplicate license that already exists in meta-oe
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:48:55 -04:00
Derek Straka
210642776c
add a gitignore for pyc files
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:45:23 -04:00
Derek Straka
46cb45b44d
curl: remote unneeded bbappend
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:45:23 -04:00
Derek Straka
e83b706e8e
zlib: remove unneeded bbappend
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:45:23 -04:00
Derek Straka
1f42bdc679
cargo_util: ensure directory exists prior to the file touch
...
Signed-off-by: Derek Straka <derek@asterius.io >
2016-08-02 10:45:23 -04:00
Derek Straka
fc9645c15b
Merge pull request #60 from starlab-io/rust-upstream-notice
...
README updates
2016-08-01 15:46:02 -04:00
Doug Goldstein
69dd8a8ee3
README: update info about what works and doesn't
2016-07-30 15:36:30 -05:00
Doug Goldstein
1878ee9a1e
README: remove stating that only ARM works
2016-07-30 15:34:48 -05:00
Doug Goldstein
095b0be0a6
README: add note about requiring upstream ref for patches
...
Add some notes about requiring patches to be submitted upstream as
issues or pull requests or a reason why they cannot be upstreamed.
2016-07-30 14:00:42 -05:00
Doug Goldstein
8ceb6a47d5
README: remove items from TODO that are done
...
We have a crates.io fetcher and the ability to build without network.
2016-07-30 13:57:05 -05:00
Derek Straka
2814eb8764
Merge pull request #58 from starlab-io/crate-fetch-for-master
...
add a custom fetcher for Cargo crates
2016-07-14 08:50:11 -04:00
Doug Goldstein
a67fbf2223
rust-hello-world: convert to using cargo_util
...
Convert to using the newer cargo_util bbclass.
2016-07-12 16:33:02 -05:00
Doug Goldstein
49d94ef0a7
rustfmt: an example cargo build package
...
rustfmt is a Rust package to format Rust code. This package is being
used as an example of building a crate in Yocto with Cargo.
2016-07-12 16:33:02 -05:00
Doug Goldstein
d947c2e40e
cargo_util: simplified cargo bbclass for crates
...
The existing cargo class attempts to jump through a few hoops for
settings that are not necessarily with newer versions of cargo.
2016-07-12 16:33:02 -05:00
Doug Goldstein
85471f88e5
bitbake: add crate fetcher
...
This adds a handler for crate:// URLs and rewrites them to crates.io
https endpoint and handles properly unpacking the crate. This fixes #24 .
2016-07-12 16:33:02 -05:00
Doug Goldstein
d3ee1e59b6
Merge pull request #57 from tylerwhall/cleanup
...
Update Cargo, bbclass cleanup
2016-07-12 09:53:25 -05:00
Cody Schafer
1b78a65885
Update README.md
...
Fixes #55
2016-07-11 16:34:29 -04:00
Tyler Hall
310cc353a1
Put crate_hash and rpath in RUSTFLAGS for Cargo
...
RUSTFLAGS is used by Cargo and always passed to the compiler. Put our
non-standard crate_hash argument there because it is required for
reproducible builds.
Add the rpath option to avoid having to patch Cargo.toml for this and
remove the function that does so.
Signed-off-by: Tyler Hall <tylerwhall@gmail.com >
2016-07-11 15:15:04 -04:00
Tyler Hall
5b451ec4af
classes/cargo: don't override PATCHTOOL
...
The referenced issue is fixed upstream
Signed-off-by: Tyler Hall <tylerwhall@gmail.com >
2016-07-11 15:15:00 -04:00
Tyler Hall
27ff9aea20
Move rust-bin fixups to rust.bbclass
...
This post-processing will need to be shared between rust-bin and
cargo-based recipes.
Signed-off-by: Tyler Hall <tylerwhall@gmail.com >
2016-07-11 15:14:57 -04:00
Tyler Hall
1f17e68d1e
Move basic variables from rust-bin to rust class
...
rust-bin.bbclass now only contains what is necessary to build crates
using the rust compiler directly and rust.bbclass contains information
shared between rust-bin and cargo.
Signed-off-by: Tyler Hall <tylerwhall@gmail.com >
2016-07-11 15:14:53 -04:00
Tyler Hall
243fdbd72d
cargo: update ssh2-rs dependency
...
This removes a dependency on winapi and is closer to the version cargo
would pick normally.
Signed-off-by: Tyler Hall <tylerwhall@gmail.com >
2016-07-11 15:14:49 -04:00
Tyler Hall
4e6b8b4eca
cargo: update to 0.10.0
...
This notably adds support for the RUSTFLAGS environment variable.
Signed-off-by: Tyler Hall <tylerwhall@gmail.com >
2016-07-11 15:14:35 -04:00
Derek Straka
498ad2a6b9
Merge pull request #56 from starlab-io/libgit2-depend
...
libgit2: add a dependency on openssl
2016-07-01 10:43:14 -04:00
Doug Goldstein
8e0b263733
libgit2: add a dependency on openssl
...
If this dependency is missing its possible that openssl won't be built
before libgit2 is built and then we won't have git support over SSL
which leaves out a lot of git repos.
2016-06-30 08:28:22 -05:00