Commit Graph

444 Commits

Author SHA1 Message Date
Tyler Hall 34c36492db Don't build any rlibs
I've seen this error from the compiler:
    found possibly newer version of crate `regex_syntax` which
    `env_logger` depends on

This is probably because the rlib hashes are not deterministic, but I
can't reproduce non-deterministic hashes locally.

There have been lots of other types of errors caused by mixing rlibs and
dylibs in the same dependency chain, so let's try using only dylibs
until that's stable.
2016-02-01 20:54:20 +00:00
Tyler Hall 84bacaaf21 time-rs: compile native helper C code 2016-02-01 20:54:20 +00:00
Tyler Hall fc0e2f74b3 libc: use common build functions and create dylib
Working around "error: cannot satisfy dependencies so `libc` only shows
up once."
2016-02-01 20:53:51 +00:00
Tyler Hall 9fac435f1c Add crypto crate 2016-02-01 20:53:51 +00:00
Tyler Hall 232d100c09 Add rand crate 2016-02-01 20:53:51 +00:00
Tyler Hall b516012a46 Add unix-socket crate 2016-02-01 20:53:51 +00:00
Tyler Hall fa0d333237 Add debug-builders crate 2016-02-01 20:53:51 +00:00
Tyler Hall 1c1819971e Add rustc-serialize crate 2016-02-01 20:53:51 +00:00
Steven Walter 9c571225f2 libudev: add recipes for latest releases of libudev-{rs,sys} 2016-02-01 20:53:51 +00:00
Steven Walter b5058823f2 rust.inc: add missing dependency on file-native 2016-02-01 20:53:39 +00:00
Cody P Schafer 0ed55291b6 cargo: relocate config files to avoid clobber 2016-01-26 17:11:25 -05:00
Cody P Schafer 6f9559d152 deps/libgit2: actually update, and disable libgit2_git 2015-12-13 21:44:55 -05:00
Cody P Schafer 82238846e4 rust 1.4.0: use snapshot include 2015-12-13 01:23:30 -05:00
Cody P Schafer bb5c2042a9 update libgit2 to 0.23.4 2015-12-13 01:22:10 -05:00
Cody P Schafer 8c74d4ce6f rust: update to 1.5.0 2015-12-13 01:08:00 -05:00
Cody P Schafer 3371589498 cargo: update to 0.7.0 2015-12-12 23:18:55 -05:00
Cody P Schafer 5d8b5d2862 rust-1.4.0: compiler works, but cannot build the old version of cargo we ship 2015-12-12 21:35:48 -05:00
Cody P Schafer 836fbef13b Merge remote-tracking branch 'origin/rust-1.4.0' 2015-12-12 18:57:14 -05:00
Cody P Schafer 7413948eaf Merge branches 'pr19', 'pr20' and 'pr21', remote-tracking branch 'origin/no-strip' 2015-12-11 22:41:38 -05:00
Cody P Schafer 934450e2b0 rust: inhibit stripping for cross compiler to avoid errors 2015-12-08 16:13:09 -05:00
Doug Goldstein 6a75a08ef4 Provide distro config include for security flags
When someone is using a distro that's using security flags we need to
provide overrides to disable PIE.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2015-11-09 12:11:24 -06:00
Doug Goldstein 25b4255204 remove conf/licenses.conf
Per conversation in #rust with kergoth this file is causing a backtrace
in bitbake because its overriding the meta/conf/licenses.conf file. The
behavior that's expected out of this isn't valid with newer Yocto
releases so its possible this is for an older version.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2015-11-06 10:18:56 -06:00
Doug Goldstein 8752eef1dc fix LICENSE_PATH location
The path in LICENSE_PATH was not the correct path to where the licenses
are located in this repo.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2015-11-06 09:35:56 -06:00
Cody P Schafer 5691bbfc1f rust-llvm: add more config options from rust-1.4.0 2015-11-05 11:32:36 -05:00
Cody P Schafer 5689154fdd rust: add version 1.4.0 2015-11-05 11:09:04 -05:00
Cody P Schafer 6b5f48afff rust: fix rpaths in -cross so we use the right libtinfo 2015-10-06 11:16:51 -04:00
Cody P Schafer 1ea67929f0 rust: do_compile: fix logic for use of downloaded snapshot 2015-10-06 10:34:49 -04:00
Cody P Schafer de532d33e1 rust: add missing comma in sed processing of cfg/X.mk file 2015-10-06 10:34:21 -04:00
Cody P Schafer 3bb1662b22 cargo: correct exported env var so we use our libgit2 2015-09-23 13:52:00 -04:00
Cody P Schafer d8c94be67f deps/libgit2: add/prep for new version but do not enable it
To enable we need to update cargo.
2015-09-23 13:51:02 -04:00
Cody P Schafer e06125f009 rust: update to 1.3.0 2015-09-17 16:23:49 -04:00
Cody P Schafer 7c74a89a97 rust.inc: remove fixme regarding -runtime and commented hack for cross providing native 2015-08-26 16:13:02 -04:00
Cody P Schafer 410971cc31 rust.inc: remove unused var and now not-so-useful comments 2015-08-26 16:12:13 -04:00
Cody P Schafer aeae4e452c rust: remove USE_LOCAL_RUST in favor of PACKAGECONFIG 2015-08-26 16:10:55 -04:00
Cody P Schafer a626e68cee rust-1.2.0: fix llvm link issue cause "multiple crates" error
Fixes #6 (until something else comes along and adds another '-L')

At the same time remove the no longer needed patch to tweak llvm
version checking, we disable those checks in configure now.
2015-08-26 12:17:28 -04:00
Cody P Schafer 6750c4fcdd rust: disable llvm-version-check, we use the submodule llvm so it had better work 2015-08-26 11:26:17 -04:00
Steven Walter 811aafe962 rust-llvm.inc: fix configure flags to match was rust uses
This fixes the assertion failure and allows 1.2.0 to successfully build
2015-08-26 10:57:16 -04:00
Cody P Schafer 0adfd73a7f BROKEN: update to rust-1.2.0
This currently doesn't work due to some LLVM related failures I haven't
had the time to figure out.
2015-08-26 10:57:16 -04:00
Cody Schafer 14f297867a readme: we've got a -runtime package with rustlib. 2015-07-30 23:15:02 -04:00
Cody Schafer f690ae0f7e Merge pull request #11 from srwalter/add-crates
Add recipes for various rust libraries
2015-07-27 01:09:57 -04:00
Tyler Hall d679297552 Add getopts crate 2015-07-23 08:48:05 -04:00
Tyler Hall 7b2e008f89 Add regex crate 2015-07-23 08:48:05 -04:00
Tyler Hall e3d9812ca4 Add aho-corasick crate 2015-07-23 08:48:05 -04:00
Tyler Hall fb840fda14 Add memchr crate 2015-07-23 08:48:05 -04:00
Tyler Hall c890efd958 Add log crate 2015-07-23 08:48:05 -04:00
Tyler Hall 69aaffe503 Add time crate 2015-07-23 08:48:05 -04:00
Tyler Hall f0326a8f55 Add dbus crate 2015-07-23 08:48:05 -04:00
Tyler Hall 572af7b451 Add libudev crates 2015-07-23 08:48:05 -04:00
Tyler Hall 05b8923770 Add liblibc crate 2015-07-23 08:48:05 -04:00
Cody Schafer da03c2e3f3 Merge pull request #10 from srwalter/rustlib
Add rustlib.bb and rust-bin.bbclass
2015-07-22 17:40:08 -04:00