summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
Commit message (Collapse)AuthorAge
* Merge branch 'staging' into core-updatesMarius Bakke2019-03-01
|\
| * Merge branch 'master' into stagingMarius Bakke2019-03-01
| |\
| | * gnu: rust: Factor out "cargo-utils" from "cargo-build-system".Ivan Petkov2019-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | Merge branch 'staging' into core-updatesMarius Bakke2019-02-24
|\| |
| * | Merge branch 'master' into stagingMarius Bakke2019-02-24
| |\|
| | * gnu: rust: Fix build of rust 1.28.0, rust 1.29.2.Danny Milosavljevic2019-02-20
| | | | | | | | | | | | | | | | | | Follow-up to d199a4c7b4c4d3320ed59e96a382f4c577630360. * gnu/packages/rust.scm (rust-1.28)[inputs]: Use llvm-6 instead of llvm.
* | | Merge branch 'staging' into core-updatesMarius Bakke2019-02-20
|\| |
| * | Merge branch 'master' into stagingMarius Bakke2019-02-20
| |\|
| | * gnu: rust: Update to 1.29.2.Ivan Petkov2019-02-14
| | | | | | | | | | | | | | | | | | * gnu/packages/rust.scm (rust): Rename to... (rust-1.28): ...this. (rust): New variable.
| * | gnu: mrustc: Fix deserialization bug in communication with the proceduralDanny Milosavljevic2019-02-13
| |/ | | | | | | | | | | | | | | | | | | | | 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>
* / gnu: Use GCC 7 as the default compiler.Marius Bakke2019-02-09
|/ | | | | | | | | | | | | | | | | | | | | | * 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.
* gnu: rust: Increase build timeouts.Danny Milosavljevic2018-12-12
| | | | | * gnu/packages/rust.scm (rust-1.19)[properties]: New field. (rust-1.20)[properties]: New field.
* gnu: rust: Remove flaky test.Danny Milosavljevic2018-12-02
| | | | | * gnu/packages/rust.scm (rust-1.22)[arguments]<#:phases>[remove-flaky-test]: New phase.
* gnu: rust: Shorten patch file name.Ludovic Courtès2018-11-29
| | | | | | | | | | 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.
* gnu: rust: Don't depend on 'git'.Marius Bakke2018-11-24
| | | | | | * 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.
* gnu: rust: Remove binary bootstrapper.Danny Milosavljevic2018-10-30
| | | | * gnu/packages/rust.scm (rust-bootstrap): Delete variable.
* gnu: rust@1.23.0: Bootstrap from rust@1.22.0.Danny Milosavljevic2018-10-30
| | | | * gnu/packages/rust.scm (rust-1.23): Bootstrap from rust@1.22.0.
* gnu: rust@1.23.0: Inherit from rust@1.22.0.Danny Milosavljevic2018-10-30
| | | | | * gnu/packages/rust.scm (rust-1.23)[inherit]: Inherit from rust-1.22. [arguments]: Inherit from rust-1.22. Delete "remove-ar" phase.
* gnu: rust: Hide "ar" entry from rust@1.21.0.Danny Milosavljevic2018-10-30
| | | | | * gnu/packages/rust.scm (rust-1.21)[arguments]<#:phases>[remove-ar]: New phase.
* gnu: rust: Accept more detailed gdb lines for simple enums.Danny Milosavljevic2018-10-30
| | | | | | * 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.
* gnu: rust: Update to 1.28.Nikolai Merinov2018-10-26
| | | | | | * gnu/packages/rust.scm (rust): Rename to... (rust-1.27): ... this. (rust): New variable.
* gnu: rust: Work around rust 1.25...1.27 reproducibility issues.Nikolai Merinov2018-10-26
| | | | | | | | | | | | | | | | * 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.
* Revert 'gnu: rust: Remove unused "ar" setting.'.Danny Milosavljevic2018-09-22
| | | | | | | Some versions of Rust do need it and others complain about it. For now, revert the removal entirely. This reverts commit ec944a1de97c8a523d6e1089b8c4430424297f93.
* gnu: rust: Remove unused "ar" setting.Danny Milosavljevic2018-09-21
| | | | | * gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove unused "ar" setting.
* gnu: rust: Remove unused "localstatedir" setting.Danny Milosavljevic2018-09-21
| | | | | * gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove unused "localstatedir" setting.
* gnu: rust: Work around mtime bug in rust build helpers.Danny Milosavljevic2018-09-21
| | | | | | | | * 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.
* gnu: rust@1.20.0: Fix tests.Danny Milosavljevic2018-09-21
| | | | | | | * 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.
* gnu: rust@1.19.0: Install libtest.Danny Milosavljevic2018-09-19
| | | | | * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build libtest.
* gnu: mrustc: Enable tests.Danny Milosavljevic2018-09-19
| | | | | * gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target. <#:phases>[install]: Don't install test output.
* gnu: rust: Update to 1.27.2.Danny Milosavljevic2018-09-13
| | | | * gnu/packages/rust.scm (rust): Update to 1.27.2.
* gnu: rust@1.23.0: Inherit outputs.Danny Milosavljevic2018-09-13
| | | | * gnu/packages/rust.scm (rust-1.23)[outputs]: Inherit.
* gnu: rust@1.25.0: Disable pedantic test.Danny Milosavljevic2018-09-13
| | | | | * gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases> [disable-nil-enum-test]: New phase.
* gnu: rust: Accept more detailed gdb responses.Danny Milosavljevic2018-09-13
| | | | | | | | | * 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.
* gnu: rust@1.20.0: Replace "default-ar" by "ar".Danny Milosavljevic2018-09-13
| | | | | * gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Replace "default-ar" by "ar".
* gnu: Add rust@1.22.1.Danny Milosavljevic2018-09-13
| | | | * gnu/packages/rust.scm (rust-1.22): New variable.
* gnu: Add rust@1.21.0.Danny Milosavljevic2018-09-13
| | | | * gnu/packages/rust.scm (rust-1.21): New variable.
* gnu: rust-bootstrap: Clean up comments.Danny Milosavljevic2018-09-13
| | | | * gnu/packages/rust.scm (rust-bootstrap): Clean up comments.
* gnu: rust: Move "cc" from rust-bootstrap to rust proper.Danny Milosavljevic2018-09-13
| | | | | | * gnu/packages/rust.scm (rust-bootstrap)[arguments]<#:phases>[install]: Delete "cc". (rust-1.23)[arguments]<#:phases>: Delete "provide-cc" deletion.
* gnu: rust@1.23.0: Use rust@1.20.0 as template.Danny Milosavljevic2018-09-13
| | | | | | | | | | | | | * 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.
* gnu: Add rust@1.20.0.Danny Milosavljevic2018-09-13
| | | | * gnu/packages/rust.scm (rust-1.20): New variable.
* gnu: rust@1.19.0: Remove superfluous install-file call.Danny Milosavljevic2018-09-12
| | | | | * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Remove superfluous install-file call.
* gnu: rust@1.19.0: Install rustdoc.Danny Milosavljevic2018-09-12
| | | | | * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[install]: Install rustdoc.
* gnu: rust@1.19.0: Use match-lambda directly.Danny Milosavljevic2018-09-12
| | | | | | | Follow-up to 3159ef7c99c646b78b04cedb1bd3525c301ef978. * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Use match-lambda directly.
* gnu: rust: Move rust-1.19 down.Danny Milosavljevic2018-09-02
|
* gnu: rust: Bootstrap (only) Rust 1.19.0 by mrustc.Danny Milosavljevic2018-09-02
| | | | | | | | | | | | | | * 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".
* gnu: mrustc: Update to 0.8.0.Danny Milosavljevic2018-08-09
| | | | * gnu/packages/rust.scm (mrustc): Update to 0.8.0.
* gnu: mrustc: Update to 0.8-1.ec907f5.Danny Milosavljevic2018-08-07
| | | | | * gnu/packages/rust.scm (mrustc): Update to 0.8-1.ec907f5. [arguments]<#:phases>[patch-date]: New phase.
* gnu: rust@1.25: Fix build on aarch64-linux.Efraim Flashner2018-07-15
| | | | | * gnu/packages/rust.scm (rust@1.25)[arguments]: Replace inherited custom 'patch-aarch64-test phase. Make sure all phases return #t.
* gnu: rust@1.19: Don't make public.Efraim Flashner2018-07-15
| | | | * gnu/packages/rust.scm (rust@1.19): Don't make it a public variable.
* gnu: rust: Update to 1.27.0.Nikolai Merinov2018-07-10
| | | | | | | * gnu/packages/rust.scm (rust): Rename to... (rust-1.26): ...this. (rust): New variable. * gnu/packages/patches/rust-bootstrap-stage0-test.patch: New file.