summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
AgeCommit message (Collapse)Author
2023-05-09Revert "gnu: rust-bootstrap: Remove aarch64 as a supported architecture."Efraim Flashner
This reverts commit c56d57110de1412d3529940d4f856611d123da66. rust-bootstrap *IS* supported on aarch64-linux, and the build farm will catch up eventually.
2023-05-09gnu: rust-bootstrap: Remove aarch64 as a supported architecture.Efraim Flashner
This is so that we can merge the branch, building rust for aarch64-linux on CI is very time intensive. * gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove aarch64-linux.
2023-05-07gnu: rust: Re-enable aarch64-linux support.Efraim Flashner
* gnu/packages/rust.scm (rust)[arguments]: Only enable parallel-builds on x86_64-linux. Add a make-flag to adjust CFLAGS. In the custom 'build phase remove an unneeded environment variable. [supported-architectures]: Add aarch64-linux.
2023-05-07gnu: rust-1.68: Update to 1.68.2.Efraim Flashner
* gnu/packages/rust.scm (rust-1.68): Update to 1.68.2.
2023-05-07gnu: rust: Disable tests that fail on aarch64.Ricardo Wurmus
* gnu/packages/rust.scm (rust)[arguments]: Add phase 'disable-tests-broken-on-aarch64.
2023-05-07Revert "gnu: rust: Remove more bundled sources."Efraim Flashner
This reverts commit 7e777d70e67cc90f019988aa2af68bbf1fe25c00. This makes it impractical to update several libraries without a rust rebuild. Since rust doesn't retain a reference to these libraries it isn't clear that this is the best choice.
2023-05-07gnu: Add rust-1.68.Efraim Flashner
* gnu/packages/rust.scm (rust-1.68): New variable.
2023-05-07gnu: rust: Remove more bundled sources.Efraim Flashner
* gnu/packages/rust.scm (rust)[source]: Adjust snippet to remove more bundled sources. [arguments]: Add a phase to set flags to use more system libraries. [inputs]: Add curl, libgit2, libssh, xz, zlib.
2023-05-07gnu: rust-1.61: Remove riscv64-linux jemalloc workaround.Efraim Flashner
* gnu/packages/rust.scm (rust-1.61)[source]: Adjust snippet to remove workaround for jemalloc library.
2023-05-07gnu: rust-1.55: Remove bundled libraries.Efraim Flashner
* gnu/packages/rust.scm (rust-1.55)[source]: Adjust snippet to remove bundled libraries.
2023-05-07gnu: rust-bootstrap: Remove bundled libraries.Efraim Flashner
* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to remove bundled libraries.
2023-05-07gnu: rust: Fix test suite on some architectures.Efraim Flashner
* gnu/packages/rust.scm (rust)[arguments]: In the custom 'patch-process-tests phase rewrite the logic for skipping some tests so that it doesn't cause errors on aarch64-linux or riscv64-linux.
2023-05-07gnu: rust-1.67: Build with llvm-15.Efraim Flashner
* gnu/packages/rust.scm (rust-1.67)[inputs]: Replace llvm with llvm-15.
2023-05-07gnu: rust-1.55: Explicitly use llvm-13.Efraim Flashner
* gnu/packages/rust.scm (rust-1.55)[inputs]: Clarify llvm is llvm-13.
2023-05-07gnu: rust-bootstrap: Explicitly use llvm-13.Efraim Flashner
* gnu/packages/rust.scm (rust-bootstrap)[inputs]: Clarify llvm is explicitly llvm-13.
2023-05-07gnu: rust: Update to 1.67.Efraim Flashner
* gnu/packages/rust.scm (rust): Update to 1.67. [arguments]: Add a phase to skip tests requiring mercurial. Extend the custom 'patch-process-tests phase. (rust-1.64)[arguments]: Adjust 'patch-cargo-checksums phase to patch another file. * guix/build/cargo-build-system.scm (package): Adjust to remove Cargo.toml.orig file if it exists.
2023-05-07gnu: Add rust-1.67.Efraim Flashner
* gnu/packages/rust.scm (rust-1.67): New variable.
2023-05-07gnu: Add rust-1.66.Efraim Flashner
* gnu/packages/rust.scm (rust-1.66): New variable.
2023-05-07gnu: rust: Remove bundled compiled libraries.Efraim Flashner
* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to also remove bundled pre-compiled shared libraries. (rust-1.55): Same.
2023-04-29gnu: rust: Disable support for aarch64-linux, riscv64-linux.Efraim Flashner
Support is currently broken and blocks too many other packages. * gnu/packages/gnome.scm (librsvg-for-system): Only use librsvg on x86_64-linux. * gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove aarch64-linux, riscv64-linux.
2023-04-18gnu: gdb: Distinguish between the "pinned" and the "default" version.Ludovic Courtès
* gnu/packages/gdb.scm (gdb/pinned): New variable. * gnu/packages/rust.scm (rust)[native-inputs]: Use it instead of GDB.
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines
Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
2023-02-16gnu: Remove unneeded module imports.Efraim Flashner
* gnu/packages/abiword.scm, * gnu/packages/ada.scm, * gnu/packages/agda.scm, * gnu/packages/backup.scm, * gnu/packages/barrier.scm, * gnu/packages/bioinformatics.scm, * gnu/packages/bootstrap.scm, * gnu/packages/bqn.scm, * gnu/packages/c.scm, * gnu/packages/chemistry.scm, * gnu/packages/coq.scm, * gnu/packages/cross-base.scm, * gnu/packages/databases.scm, * gnu/packages/emacs-xyz.scm, * gnu/packages/enlightenment.scm, * gnu/packages/games.scm, * gnu/packages/geo.scm, * gnu/packages/ghostscript.scm, * gnu/packages/gl.scm, * gnu/packages/golang.scm, * gnu/packages/jami.scm, * gnu/packages/java-maths.scm, * gnu/packages/kde-frameworks.scm, * gnu/packages/kde-plasma.scm, * gnu/packages/language.scm, * gnu/packages/libreoffice.scm, * gnu/packages/linphone.scm, * gnu/packages/lisp.scm, * gnu/packages/llvm.scm, * gnu/packages/machine-learning.scm, * gnu/packages/minetest.scm, * gnu/packages/monitoring.scm, * gnu/packages/nfs.scm, * gnu/packages/ocr.scm, * gnu/packages/opencl.scm, * gnu/packages/pdf.scm, * gnu/packages/python-xyz.scm, * gnu/packages/racket.scm, * gnu/packages/rust.scm, * gnu/packages/syncthing.scm, * gnu/packages/syndication.scm, * gnu/packages/telegram.scm, * gnu/packages/vulkan.scm, * gnu/packages/web-browsers.scm, * gnu/packages/web.scm, * gnu/packages/webkit.scm: Remove some unecessary module imports.
2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
2022-11-29gnu: rust-1.64: Fix building on riscv64-linux.Efraim Flashner
* gnu/packages/rust.scm (rust-1.64)[source]: Add patch and patch-flags. (rust-1.65)[source]: Remove patch and reset patch-flags. * gnu/packages/patches/rust-1.64-fix-riscv64-bootstrap.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2022-11-15gnu: Add rust-1.65.Efraim Flashner
* gnu/packages/rust.scm (rust-1.65): New variable.
2022-11-15gnu: Add rust-1.64.Efraim Flashner
* gnu/packages/rust.scm (rust-1.64): New variable.
2022-11-15gnu: Add rust-1.63.kiasoc5
* gnu/packages/rust.scm (rust-1.63): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15gnu: Add rust-1.62.kiasoc5
* gnu/packages/rust.scm (rust-1.62): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15gnu: Add rust-1.61.kiasoc5
* gnu/packages/rust.scm (rust-1.61): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-10-20gnu: rust: Disable debug info to reduce build memory requirements.Mark H Weaver
* gnu/packages/rust.scm (rust-1.55)[arguments]: In custom 'configure phase adjust rust's config.toml to disable debug info.
2022-10-20gnu: rust-bootstrap: Disable debug info during build.Mark H Weaver
This dramatically reduces the memory required to build Rust, and also speeds up the build. * gnu/packages/rust.scm (mrustc)[source]: Add snippet to remove building debug info with mrustc.
2022-10-20gnu: mrustc: Update to 0.10.0-2.597593a.Efraim Flashner
* gnu/packages/rust.scm (mrustc): Update to 0.10.0-2.597593a. [source]: Remove patch. (rust-bootstrap)[arguments]: Adjust custom 'patch-makefiles phase for changes in source. * gnu/packages/patches/mrustc-riscv64-support.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
2022-09-15Merge branch 'staging' into core-updatesMaxim Cournoyer
Conflicts resolved in: gnu/local.mk gnu/packages/cmake.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/sdl.scm pango-next, vala-next and librsvg-bootstrap were removed in the process.
2022-09-13gnu: rust-1.59: Fix building for riscv64-linux.Efraim Flashner
* gnu/packages/rust.scm (rust-1.59)[arguments]: When building for riscv64-linux add a phase to support building with llvm < 14.
2022-08-30Merge branch 'staging' into core-updatesMarius Bakke
2022-08-30gnu: rust-bootstrap: Explicitly use OpenSSL@1.1.Marius Bakke
* gnu/packages/rust.scm (rust-bootstrap)[inputs]: Change from OPENSSL to OPENSSL-1.1.
2022-08-30Merge branch 'master' into stagingMarius Bakke
2022-08-30gnu: rust: Don't ask to run tests when cross-compiling.Maxime Devos
* gnu/packages/rust.scm (rust-1.57)[arguments]{#:tests?}: When cross-compiling, set to #false. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-11Merge branch 'staging' into core-updatesMarius Bakke
2022-08-04gnu: rust: Use rust-1.60.0Jim Newsome
* gnu/packages/rust.scm (rust-1.58, rust-1.59, rust-1.60, rust): Add rust-1.58, rust-1.59, and rust-1.60, and update rust to be based on rust-1.60 instead of rust-1.57. Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-04gnu: rust: decouple rust-1.57 and "rust"Jim Newsome
* gnu/packages/rust.scm (rust-1.57, rust): decouple the definition of rust-1.57, which happens to be the current latest, from the definition of rust, which is always the latest. The latter re-enables tests and extra components, which should always be done only on the final public rust package, not specifically rust-1.57. Signed-off-by: Marius Bakke <marius@gnu.org>
2022-07-27gnu: GCC: Fix union optimization issue.Marius Bakke
* gnu/packages/patches/gcc-10-tree-sra-union-handling.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/gcc.scm (gcc-10, gcc-11)[source](patches): Add it. * gnu/packages/rust.scm (rust-bootstrap)[native-inputs]: Remove GCC-9.
2022-07-10gnu: rust-1.55: Fix building on riscv64-linux.Efraim Flashner
* gnu/packages/rust.scm (rust-1.55)[source]: Adjust snippet to fix riscv64 support in jemallocator crate.
2022-07-10gnu: rust-bootstrap: Add support for riscv64-linux.Efraim Flashner
* gnu/packages/rust.scm (%mrustc-source): Add patch. (rust-bootstrap)[native-inputs]: On riscv64-linux add gcc@9:lib. [supported-systems]: Add riscv64-linux. Adjust comment. * gnu/packages/patches/mrustc-riscv64-support.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2022-07-05gnu: rust: Add correct triplet for riscv64-linux.Efraim Flashner
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entry for riscv64-linux.
2022-07-05gnu: rust: Bootstrap with rust-1.54.0.Efraim Flashner
* gnu/packages/rust.scm (rust-1.39): Rename to rust-bootstrap. Update to 1.54.0. [source]: Update snippet to new version. Replace mrustc patch for 1.39.0 with patch for 1.54.0. [inputs]: Remove libssh2. Replace llvm-9 with llvm. Add gcc-9. [arguments]: Adjust custom 'setup-mrustc-sources to also create file with rust version. Adjust custom 'patch-makefiles phase to changes in mrustc's build steps. Adjust custom 'build phase to follow mrustc's build steps for rust-1.54. (rust-1.40): Replace post-bootstrapped rust-1.40 with 1.55. [arguments]: Add custom 'set-linker-locale-to-utf8 phase. Adjust custom 'build phase. Remove custom 'neuter-tidy phase. [inputs]: Replace llvm-9 with llvm. (rust-1.41, rust-1.42, rust-1.43, rust-1.44, rust-1.45, rust-1.46, rust-1.47, rust-1.48, rust-1.49, rust-1.50, rust-1.51, rust-1.52, rust-1.53): Remove variables. * gnu/packages/patches/rust-1.39.0-src.patch: Remove file. * gnu/packages/patches/rust-1.54.0-src.patch: Add file. * gnu/local.mk (dist_patch_DATA): Register changes.
2022-05-09gnu: mrustc: Update to 0.10.Pierre Langlois
And enable rust for aarch64-linux! * gnu/packages/rust.scm (%mrustc-commit): Update hash. (%mrustc-source): Update to 0.10. (rust-1.39)[arguments]: Move and adapt the substitute* that prevent fetching sources. Patch /bin/sh in run_rustc/rustc_proxy.sh. [supported-systems]: Add aarch64-linux. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-02-01gnu: LLVM: Switch to 13 as the default.Marius Bakke
* gnu/packages/llvm.scm (llvm, clang-runtime, clang, clang-toolchain): Use version 13. * gnu/packages/gnuzilla.scm (mozjs-78)[native-inputs]: Change from LLVM to LLVM-9. * gnu/packages/rust.scm (rust-1.39, rust-1.40)[inputs]: Likewise. * gnu/packages/debug.scm (c-reduce)[inputs]: Stick with CLANG-9 and/or LLVM-9. * gnu/packages/diffoscope.scm (diffoscope)[inputs]: Likewise. * gnu/packages/linux.scm (bcc, bpftrace)[inputs]: Likewise. * gnu/packages/llvm.scm (libclc, libomp)[native-inputs]: Likewise. * gnu/packages/games.scm (hedgewars)[native-inputs]: Likewise. * gnu/packages/graphics.scm (openshadinglanguage)[native-inputs]: Likewise. * gnu/packages/opencl.scm (pocl)[inputs]: Likewise.
2022-01-22gnu: rust-analyzer: Make it work out of the box.Z572 via Guix-patches via
* gnu/packages/rust.scm (rust-src): New variable. * gnu/packages/rust-apps.scm (rust-analyzer): [native-inputs]: Add rust-src. [arguments]: <#:phases>: Add wrap-program phase. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>