Marius Bakke
f5e563e50a
Merge branch 'staging' into core-updates
2019-03-01 17:40:51 +01:00
Marius Bakke
19464173ba
Merge branch 'master' into staging
2019-03-01 17:33:00 +01:00
Ivan Petkov
7d141788b1
gnu: rust: Factor out "cargo-utils" from "cargo-build-system".
...
* guix/build/cargo-utils.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cargo.scm (%cargo-utils-modules): New variable.
(%cargo-build-system-modules): Use it.
* guix/build/cargo-build-system.scm (file-sha256, generate-checksums): Move
from here...
* guix/build/cargo-utils.scm: ...to here.
* gnu/packages/rust.scm (rust-1.19.0)[arguments]<#:imported-modules>: Use
%cargo-utils-modules.
<#:phases>[patch-cargo-checksums]: Use (guix build cargo-utils).
* gnu/packages/gnuzilla.scm (icecat):
[arguments]<#:imported-modules>: Use %cargo-utils-modules.
<#phases>[patch-cargo-checksums]: import (guix build cargo-utils).
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-01 08:20:50 +01:00
Marius Bakke
9a6b8c9fa3
Merge branch 'staging' into core-updates
2019-02-24 21:26:58 +01:00
Marius Bakke
aa51eb2073
Merge branch 'master' into staging
2019-02-24 21:25:52 +01:00
Danny Milosavljevic
de6ad8c29a
gnu: rust: Fix build of rust 1.28.0, rust 1.29.2.
...
Follow-up to d199a4c7b4
.
* gnu/packages/rust.scm (rust-1.28)[inputs]: Use llvm-6 instead of llvm.
2019-02-20 23:52:41 +01:00
Marius Bakke
901236474a
Merge branch 'staging' into core-updates
2019-02-20 17:19:00 +01:00
Marius Bakke
2c76e19df4
Merge branch 'master' into staging
2019-02-20 17:01:39 +01:00
Ivan Petkov
0e9811f4a3
gnu: rust: Update to 1.29.2.
...
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.28): ...this.
(rust): New variable.
2019-02-14 17:56:30 +01:00
Danny Milosavljevic
baf766a7ff
gnu: mrustc: Fix deserialization bug in communication with the procedural
...
macro compiler plugin.
* gnu/packages/patches/mrustc-0.8.0-fix-variable-length-integer-receiving.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/rust.scm (mrustc)[source]: Use it.
Co-authored-by: Chris Marusich <cmmarusich@gmail.com>
2019-02-13 13:28:29 +01:00
Marius Bakke
01e8263feb
gnu: Use GCC 7 as the default compiler.
...
* gnu/packages/cross-base.scm (%gcc-cross-include-paths): Remove
CROSS_C_INCLUDE_PATH & co in favor of CROSS_CPATH.
* gnu/build/cross-toolchain.scm (%gcc-cross-include-paths): Likewise.
(cross-gcc-build-phases): Set CROSS_C_INCLUDE_PATH and
CROSS_CPLUS_INCLUDE_PATH when building the cross GCC.
* gnu/packages/commencement.scm (libstdc++): Add
"--disable-libstdcxx-dual-abi" to #:configure-flags.
(gcc-boot0)[arguments]: Add "--disable-libmpx"
to #:configure-flags.
(gcc-final): Add phase to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH before
building GCC.
(gcc-toolchain-5): Use MAKE-GCC-TOOLCHAIN.
(gcc-toolchain-7): Change to GCC-TOOLCHAIN.
* gnu/packages/gcc.scm (gcc): Change from GCC-5 to GCC-7.
(gfortran): Change to GFORTRAN-7.
(gcc-objc): Change to GCC-OBJC-7.
(gcc-objc++): Change to GCC-OBJC++-7.
* gnu/packages/rust.scm (rust-1.19.0)[native-search-paths]: Change from
C_INCLUDE_PATH & co to CPATH.
2019-02-09 21:53:41 +01:00
Danny Milosavljevic
b7c1c2b856
gnu: rust: Increase build timeouts.
...
* gnu/packages/rust.scm (rust-1.19)[properties]: New field.
(rust-1.20)[properties]: New field.
2018-12-12 01:18:09 +01:00
Danny Milosavljevic
8cddb0d636
gnu: rust: Remove flaky test.
...
* gnu/packages/rust.scm (rust-1.22)[arguments]<#:phases>[remove-flaky-test]:
New phase.
2018-12-02 14:16:43 +01:00
Ludovic Courtès
f2c99fe52b
gnu: rust: Shorten patch file name.
...
This file name was too long to fit in a tar archive.
* gnu/packages/patches/rust-mdbook-support-reproducible-builds-by-forcing-window.search.patch:
Rename to...
* gnu/packages/patches/rust-reproducible-builds.patch: ... this.
* gnu/packages/rust.scm (rust-1.27, rust): Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2018-11-29 13:14:22 +01:00
Marius Bakke
01cef16f85
gnu: rust: Don't depend on 'git'.
...
* gnu/packages/rust.scm (rust-1.19)[inputs]: Remove GIT.
(rust-1.20)[arguments]: Disable Cargo tests that require git.
(rust-1.26)[arguments]: Likewise.
2018-11-24 02:03:12 +01:00
Danny Milosavljevic
52bc7df1a1
gnu: rust: Remove binary bootstrapper.
...
* gnu/packages/rust.scm (rust-bootstrap): Delete variable.
2018-10-30 20:42:00 +01:00
Danny Milosavljevic
44d530ef09
gnu: rust@1.23.0: Bootstrap from rust@1.22.0.
...
* gnu/packages/rust.scm (rust-1.23): Bootstrap from rust@1.22.0.
2018-10-30 20:41:55 +01:00
Danny Milosavljevic
a75b8c08c0
gnu: rust@1.23.0: Inherit from rust@1.22.0.
...
* gnu/packages/rust.scm (rust-1.23)[inherit]: Inherit from rust-1.22.
[arguments]: Inherit from rust-1.22. Delete "remove-ar" phase.
2018-10-30 20:41:50 +01:00
Danny Milosavljevic
7bf169f75c
gnu: rust: Hide "ar" entry from rust@1.21.0.
...
* gnu/packages/rust.scm (rust-1.21)[arguments]<#:phases>[remove-ar]: New
phase.
2018-10-30 20:41:45 +01:00
Danny Milosavljevic
46cb1c97cb
gnu: rust: Accept more detailed gdb lines for simple enums.
...
* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch: Modify.
* gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases>[disable-nil-enum-test]:
Delete phase.
2018-10-30 20:20:55 +01:00
Nikolai Merinov
2e2b8635b9
gnu: rust: Update to 1.28.
...
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.27): ... this.
(rust): New variable.
2018-10-26 18:11:15 +02:00
Nikolai Merinov
e027a494fd
gnu: rust: Work around rust 1.25...1.27 reproducibility issues.
...
* gnu/packages/patches/rust-mdbook-support-reproducible-builds-by-forcing-window.search.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add new patch file.
* gnu/packages/rust.scm (rust-1.19): Use system libssh2 library.
during cargo build. Note: libgit2 still bundled, because cargo
tests assume specific libgit2 minor release.
(rust-1.23): Inherit native-inputs from previous package.
(rust-1.25): Switch back to llvm 3.9.1 as workaround for
https://github.com/rust-lang/rust/issues/50556 issue.
(rust-1.27): Apply changes from
https://github.com/rust-lang-nursery/mdBook/pull/692 to make
generation of "searchindex.js" files reproducible. Disable cargo
test that required llvm 6.
2018-10-26 18:11:15 +02:00
Danny Milosavljevic
91294b5361
Revert 'gnu: rust: Remove unused "ar" setting.'.
...
Some versions of Rust do need it and others complain about it.
For now, revert the removal entirely.
This reverts commit ec944a1de9
.
2018-09-22 10:09:47 +02:00
Danny Milosavljevic
ec944a1de9
gnu: rust: Remove unused "ar" setting.
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove
unused "ar" setting.
2018-09-21 17:59:09 +02:00
Danny Milosavljevic
10e066f410
gnu: rust: Remove unused "localstatedir" setting.
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove
unused "localstatedir" setting.
2018-09-21 15:21:24 +02:00
Danny Milosavljevic
e0b07ccc1a
gnu: rust: Work around mtime bug in rust build helpers.
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[fix-mtime-bug]:
Delete.
[reset-timestamps-after-changes]: Modify.
(rust-1.24): Don't delete "fix-mtime-bug" since now it doesn't ever
get created.
2018-09-21 01:35:00 +02:00
Danny Milosavljevic
1bfaae25fa
gnu: rust@1.20.0: Fix tests.
...
* gnu/packages/rust.scm (rust-1.23)[arguments]<#:phases>
[patch-cargo-tests, ignore-glibc-2.27-incompatible-test,fix-mtime-bug]: Move
to...
(rust-1.20): ... here.
2018-09-21 01:31:10 +02:00
Danny Milosavljevic
6c1a658414
gnu: rust@1.19.0: Install libtest.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build
libtest.
2018-09-19 14:41:01 +02:00
Danny Milosavljevic
4a90fcf9e7
gnu: mrustc: Enable tests.
...
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target.
<#:phases>[install]: Don't install test output.
2018-09-19 14:41:01 +02:00
Danny Milosavljevic
317b139c5d
gnu: rust: Update to 1.27.2.
...
* gnu/packages/rust.scm (rust): Update to 1.27.2.
2018-09-13 22:37:55 +02:00
Danny Milosavljevic
060366f6b3
gnu: rust@1.23.0: Inherit outputs.
...
* gnu/packages/rust.scm (rust-1.23)[outputs]: Inherit.
2018-09-13 17:19:04 +02:00
Danny Milosavljevic
b78fe27b31
gnu: rust@1.25.0: Disable pedantic test.
...
* gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases>
[disable-nil-enum-test]: New phase.
2018-09-13 17:17:15 +02:00
Danny Milosavljevic
6fe73b487b
gnu: rust: Accept more detailed gdb responses.
...
* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/rust.scm (rust-1.25): Use it.
(rust-1.26): Use it.
(rust): Use it.
2018-09-13 17:17:15 +02:00
Danny Milosavljevic
73dc7834de
gnu: rust@1.20.0: Replace "default-ar" by "ar".
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Replace
"default-ar" by "ar".
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
1ab3e1dd98
gnu: Add rust@1.22.1.
...
* gnu/packages/rust.scm (rust-1.22): New variable.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
05ebff92bd
gnu: Add rust@1.21.0.
...
* gnu/packages/rust.scm (rust-1.21): New variable.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
e69b1a7c6e
gnu: rust-bootstrap: Clean up comments.
...
* gnu/packages/rust.scm (rust-bootstrap): Clean up comments.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
bfdc0e4d45
gnu: rust: Move "cc" from rust-bootstrap to rust proper.
...
* gnu/packages/rust.scm (rust-bootstrap)[arguments]<#:phases>[install]:
Delete "cc".
(rust-1.23)[arguments]<#:phases>: Delete "provide-cc" deletion.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
333c0ca966
gnu: rust@1.23.0: Use rust@1.20.0 as template.
...
* gnu/packages/rust.scm (rust-1.23)[inherit]: Use rust-1.20.
[arguments]<#:phases>: Delete "patch-cargo-tomls" phase deletion.
Add "provide-cc" phase deletion.
Add "configure-archiver" phase deletion.
[configure]: Inherit phase.
[reset-timestamps-after-changes]: Inherit phase.
[build]: Inherit phase.
[check]: Inherit phase.
[install]: Inherit phase.
[wrap-rustc]: Inherit phase.
2018-09-13 10:10:48 +02:00
Danny Milosavljevic
614cfd5c54
gnu: Add rust@1.20.0.
...
* gnu/packages/rust.scm (rust-1.20): New variable.
2018-09-13 00:25:01 +02:00
Danny Milosavljevic
3763e7716c
gnu: rust@1.19.0: Remove superfluous install-file call.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Remove
superfluous install-file call.
2018-09-12 23:17:42 +02:00
Danny Milosavljevic
5a3fcf5b44
gnu: rust@1.19.0: Install rustdoc.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[install]: Install
rustdoc.
2018-09-12 23:17:42 +02:00
Danny Milosavljevic
0bcd1bc778
gnu: rust@1.19.0: Use match-lambda directly.
...
Follow-up to 3159ef7c99
.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Use
match-lambda directly.
2018-09-12 23:17:42 +02:00
Danny Milosavljevic
24d298b459
gnu: rust: Move rust-1.19 down.
2018-09-02 00:22:53 +02:00
Danny Milosavljevic
3159ef7c99
gnu: rust: Bootstrap (only) Rust 1.19.0 by mrustc.
...
* gnu/packages/patches/rust-1.19-mrustc.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/rust.scm (rust-1.19)[source]: Add patch
"rust-1.19-mrustc.patch".
[arguments]<#:modules>: New field.
<#:phases>[patch-cargo-tomls]: New phase.
<#:phases>[build]: Modify.
<#:phases>[install]: Modify.
[native-inputs]: Replace rust-bootstrap by mrustc.
(rust-1.23)[native-inputs]: New field.
[arguments]<#:phases>: Delete phase "patch-cargo-tomls".
2018-09-02 00:09:34 +02:00
Danny Milosavljevic
c1cdadc6ba
gnu: mrustc: Update to 0.8.0.
...
* gnu/packages/rust.scm (mrustc): Update to 0.8.0.
2018-08-09 07:50:57 +02:00
Danny Milosavljevic
f5704c72a5
gnu: mrustc: Update to 0.8-1.ec907f5.
...
* gnu/packages/rust.scm (mrustc): Update to 0.8-1.ec907f5.
[arguments]<#:phases>[patch-date]: New phase.
2018-08-07 19:23:48 +02:00
Efraim Flashner
080e11b48e
gnu: rust@1.25: Fix build on aarch64-linux.
...
* gnu/packages/rust.scm (rust@1.25 )[arguments]: Replace inherited custom
'patch-aarch64-test phase. Make sure all phases return #t.
2018-07-15 22:59:25 +03:00
Efraim Flashner
4f963b6f29
gnu: rust@1.19: Don't make public.
...
* gnu/packages/rust.scm (rust@1.19 ): Don't make it a public variable.
2018-07-15 22:59:25 +03:00
Nikolai Merinov
f510a2b93b
gnu: rust: Update to 1.27.0.
...
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.26): ...this.
(rust): New variable.
* gnu/packages/patches/rust-bootstrap-stage0-test.patch: New file.
2018-07-10 15:09:25 +02:00