Commit Graph

16 Commits

Author SHA1 Message Date
Danny Milosavljevic 5f3d46ce67
gnu: rustc: Enable tests.
* gnu/packages/rust.scm (rustc)[source]: Remove bundled llvm.
[native-inputs]: Add bison, flex, procps.
[inputs]: Update llvm to llvm-3.9.1.
[arguments]: Patch and enable tests.
2017-06-20 07:18:01 +02:00
Danny Milosavljevic f0eb0a4bb1
gnu: cargo: Simplify unpacking.
Fixes <http://bugs.gnu.org/26166>.

* gnu/packages/rust.scm (cargo)
[arguments]<:modules>: Add (srfi srfi-1).
[arguments]<:phases>: Adapt 'unpack-submodule-sources' phase to more clearly
seperate the tasks it does.  Add helper procedures 'unpack', 'touch',
'install-rust-library'.
[arguments]<:phases>: Rename 'set-cargo-home' to 'set-environment-up' and
make it use official cargo directories.
[arguments]<:phases>: Remove 'configure' phase.
2017-04-21 10:18:23 +02:00
Danny Milosavljevic 9ea0cdaf7f
gnu: rustc: Update to 1.16.0. gnu: cargo: Update to 0.17.0.
* gnu/packages/rust.scm (rustc): Update to 1.16.0.
patch-configure: Patch LLVM references.
(cargo): Update to 0.17.0.
[native-inputs]: Update rust-openssl to 0.9.6.
Update rust-libssh2-sys 0.2.5.
Update rust-libz-sys 1.0.13.
Add rust-error-chain 0.7.2.
Add rust-metadeps 1.1.1.
Update rust-openssl-sys 0.9.6.
Update rust-libgit2-sys to 0.6.6.
Add rust-shell-escape 0.1.3.
2017-04-10 09:01:13 +02:00
Danny Milosavljevic 42c127e876
gnu: rustc: Simplify configure phase.
* gnu/packages/rust.scm (rustc): Simplify configure phase.
2017-03-23 19:36:10 +01:00
Danny Milosavljevic 9b7a9580d4
gnu: rustc: Honor max line length.
* gnu/packages/rust.scm (rustc)[arguments]: patch-tests: Honor max line
length.
2017-03-22 17:41:44 +01:00
Danny Milosavljevic 326249bab8
gnu: rustc: End resultless phases in #t.
* gnu/packages/rust.scm (rustc): End resultless phases in #t.
2017-03-22 12:59:32 +01:00
Danny Milosavljevic 84aac61c81
gnu: rustc: Fix process test.
* gnu/packages/rust.scm (rustc)[arguments]: Rename 'patch-lockfile-test
to 'patch-tests.  Add another substitution.
2017-03-18 10:37:02 +01:00
Danny Milosavljevic 893bc3f402
gnu: cargo: Use upstream cargo.
* gnu/packages/rust.scm (cargo): Use upstream cargo.
2017-03-17 16:48:08 +01:00
Danny Milosavljevic b0dcb529af
gnu: rust: Update to 1.15.0.
* gnu/packages/rust.scm (%rust-bootstrap-binaries-version): Update to 1.14.0.
(%rust-bootstrap-binaries): Update to 1.14.0.
(rustc): Update to 1.15.0.
[arguments]: Pass "--disable-rustbuild" to configure.
2017-03-17 16:48:06 +01:00
Ben Woodcroft fa73a7c1b3
gnu: rustc: Add native-search-paths.
* gnu/packages/rust.scm (rust)[native-search-paths]: New field.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-02-10 21:54:31 +10:00
David Craven 5d18d776d2
gnu: rustc: Retain binutils.
* gnu/packages/rust.scm (rustc)[arguments]: Retain binutils. Add
  wrap-rustc phase.

Problem reported by Ben Woodcroft <donttrustben@gmail.com>.
2017-01-09 18:01:52 +01:00
David Craven 3b7ccbe94c
build-system: cargo: Use correct cargo.
* gnu/packages/rust.scm (cargo-bootstrap): Make private.
* guix/build-system/cargo.scm (default-cargo): Use cargo.
2017-01-04 11:29:15 +01:00
David Craven b5a09649db
gnu: Add cargo.
* gnu/packages/rust.scm (cargo): New variable.
2017-01-04 11:29:14 +01:00
ng0 b954256337
gnu: rustc: Update to 1.14.0.
* gnu/packages/rust.scm (rustc): Update to 1.14.0.
  %rust-bootstrap-binaries: Update to 1.13.0.

Signed-off-by: David Craven <david@craven.ch>
2016-12-29 12:38:23 +01:00
David Craven ecee21473b
gnu: Add rustc.
* gnu/packages/rust.scm (rustc): New variable.

Co-authored-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
2016-12-14 16:30:43 +01:00
David Craven 423f9e4494
gnu: Add rust bootstrap binaries.
* gnu/packages/rust.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add rust.scm.
2016-12-14 16:30:42 +01:00