* gnu/packages/rust.scm (rust-1.77): Update to 1.77.1.
[arguments]: Skip another test when building for riscv64-linux.
Change-Id: I5a38ed2a809b911be5750646c29c44fcac1f0d02
* gnu/packages/rust.scm (rust): Base main rust package on rust-1.77.
[source]: Remove another vendored copy of zlib.
Change-Id: Ia4611b0ea153bce1de97e711af6d3f7396a6bf85
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
As cross-libc may return #f in this case, and the config.toml file
construction will also fail if the platform rust-target is #f..
* gnu/packages/rust.scm (make-rust-sysroot/implementation): Guard against
unsupported rust targets.
Change-Id: Ia0d5c889c6f5cd3478ad985c79feb9ba1c472c29
* gnu/packages/rust.scm (rust-1.55)[supported-systems]: Explicitly list
systems where the final rust compiler builds successfully.
Change-Id: Icb89dd4eec1404a9d8db54029e69dae02a66f19e
* gnu/packages/rust.scm (rust)[arguments]: Add a phase when building for
riscv64-linux to skip two tests.
Change-Id: I5ea605efc794efb113022432b74c81e4626e2678
* gnu/packages/rust.scm (rust-1.74)[arguments]: When building for
riscv64-linux delete 'revert-riscv-pause-instruction phase.
Change-Id: I59120e8dae995fca52b192b07e265db20d9281e7
* gnu/packages/rust-bootstrap.scm [properties]: Increase timeout to 36
hours.
[inputs]: When building for riscv64 add clang-13.
[arguments]: When building for riscv64 start the build using clang and
then switch to gcc later.
Change-Id: I661934ff6862e5c8d826dd637ceeaf316b877c23
* gnu/packages/rust.scm (rust-1.72)[source]: Adjust snippet to fix
building rustix on all architectures.
Change-Id: If8e6b5c4d0c29d2ee2fdfe58fa7d4d2c1585740e
* gnu/packages/rust.scm (rust-1.71)[source]: Adjust snippet to fix
building rustix on all architectures.
Change-Id: I1661ebd9071b3dba92e0f871fad9ed5bcbef38ea
* gnu/packages/rust.scm (rust-1.70)[source]: Adjust snippet to fix
building rustix on all architectures.
Change-Id: Ic9f57e00c8602cd400db65e5b2c2499e972bef17
* gnu/packages/rust.scm (rust-1.69)[source]: Adjust snippet to fix
building rustix on all architectures.
Change-Id: I541767f19740b954e8c0f631bd5e77743ae3fb14
* gnu/packages/rust.scm (rust-1.67)[source]: Adjust snippet to fix
building rustix on all architectures.
Change-Id: I3bfd30d541574daae6223066c57c2d311e436075
* gnu/packages/rust.scm (rust-1.64)[source]: Adjust snippet to fix
building rustix on all architectures.
Change-Id: Iaa1f1b0ac70b36b6ac8a46e6789ce14d057fde08
* gnu/packages/rust.scm (rust-bootstrap)[inputs]: When building for
powerpc64le-linux add clang-13.
[arguments]: When building for powerpc64le-linux add a phase adjusting
the llvm output. Adjust the 'configure phase to start the build with
clang as the C/C++ compiler and switch to GCC after building rustc.
Change-Id: Iad5c8b5bba03289595f18e242392aa7feb249888
* gnu/packages/rust.scm (rust-1.55)[native-search-paths]: Replace list
with factorized %gcc-search-paths.
Change-Id: I0052aa748d45b2302e86589e0e9bfe1ddc0c6aa3
* gnu/packages/rust.scm (rust-bootstrap)[arguments]: Remove custom
'patch-reference-to-cc phase which didn't do any substitutions. Join
two substitutions preventing downloading during the build. Remove
unneeded variable in let statement.
Change-Id: Iff0262bdff3cb1257afeb83f33c40c54db02dc64
* gnu/packages/rust.scm (%mrustc-commit, %mrustc-source): Update.
[snippet]: Adjust snippet to make sure to get all the '-g' flags.
(rust-bootstrap)[arguments]: Remove substitution adjusting the number of
parallel builds. Remove unneeded substitution.
* gnu/packages/patches/rustc-1.54.0-src.patch: Refresh from upstream.
Change-Id: I6f806ee89dcb8e95e8bd2d443328844079ee533e
Use more of the bundled libraries so we have fewer dependencies causing
rebuilds in the future.
* gnu/packages/rust.scm (rust-bootstrap)[inputs]: Remove curl.
[native-inputs]: Remove bison, flex.
Change-Id: Ibc743a48536e1474b9ef343962e27d8128e6a20f
* gnu/packages/rust.scm (rust-1.75): New variable.
(rust): Update to 1.75.0.
[arguments]: Adjust substitutions in custom phases for changes in source
code.
Change-Id: I0065d09a297e227e58998455bb90d18304fd6729
* gnu/packages/rust.scm (rust-1.55)[arguments]: Remove references to
jemalloc in custom 'configure phase and set rust to build without
jemalloc.
[inputs]: Remove jemalloc.
Change-Id: I388688111c897b15feb6ccee3374219b82f64169
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Remove
procedure.
(rust-bootstrap)[arguments]: Adjust make-flags, custom 'install phase
to use platform-rust-target.
(rust-1.55)[arguments]: Adjust custom 'configure and 'install phases to
use platform-rust-target.
(make-rust-sysroot)[arguments]: Adjust custom 'configure phase to use
platform-rust-target.
Change-Id: I102d44231c1411ea14ca75170f4884304d11bee1
This makes those packages visible to (gnu ci), giving them first class
in the eyes of Cuirass and similar tools, in turn ensuring substitutes
are available (this was discovered by running ‘guix weather -c 10’).
* gnu/packages/rust.scm (rust-bootstrap, rust-1.55)
(rust-1.56, rust-1.57, rust-1.58, rust-1.59, rust-1.60)
(rust-1.61, rust-1.62, rust-1.63, rust-1.64, rust-1.65)
(rust-1.66, rust-1.67, rust-1.68, rust-1.69, rust-1.70)
(rust-1.71, rust-1.72, rust-1.73): Make variable public and add
‘hidden?’ property.
(rust): Remove ‘hidden?’ property.
* gnu/packages/java.scm (java-hamcrest-parent-pom)
(java-org-ow2-parent-pom-1.3, java-asm-bootstrap): Make variable public
and add ‘hidden?’ property.
* gnu/packages/ocaml.scm (dune-bootstrap)
(ocaml4.09-dune-bootstrap, ocaml5.0-dune-bootstrap): Likewise.
Change-Id: I32b0ea639a4f1c39466875acdbc9cbadf75c7668
To ensure that it just returns a single package record for some given
arguments, as this helps to avoid poor performance of the store connection
object cache.
Performance with computing the cross derivations is important for the data
service, as it's currently very slow to process revisions.
* gnu/packages/rust.scm (make-rust-sysroot): Move code to
make-rust-sysroot/implementation.
(make-rust-sysroot/implementation): New variable.
Change-Id: Ibb30c7398328c87c032bb8828635a34ada935167
* gnu/packages/rust.scm (rust)[arguments]: Rewrite 'wrap-rust-analyzer
phase to allow using a custom RUST_SRC_PATH.
Change-Id: Id811bc8d09c0f955ece9c9e6267a0ae96e61f105
* gnu/packages/rust.scm (rust): Update to 1.73.0.
[arguments]: Add phase to skip some tests using cargo publish.
Change-Id: I3b0539ce036805f606bfbc1a1bba98a95d4a22fe