68 Commits

Author SHA1 Message Date
Rasmus Thomsen
cbc114bc59 community/rust: don't remove libs in /usr/lib
Rust doesn't duplicate libraries anymore, so we mustn't remove libs in /usr/lib
to save space. As such we also won't need the rpath patch anymore.
Bootstrap from tarballs again since the version in the repos has gone bad due
to this.
2019-12-22 21:12:46 +01:00
Rasmus Thomsen
9e720648fb community/rust: upgrade to 1.40.0 2019-12-21 15:26:59 +01:00
Kevin Daudt
b08fc57094 community/rust: fix build error with rustdoc
Building rust fails with the error:

error[E0523]: found two different crates with name `bitflags` that are not
distinguished by differing `-C metadata`. This will result in symbol conflicts
between the two.
  --> src/librustdoc/html/markdown.rs:36:5
     |
     36 | use pulldown_cmark::{html, CowStr, Event, Options, Parser, Tag};
        |     ^^^^^^^^^^^^^^

Upstream fixed it with the included patch.
2019-11-24 22:00:38 +00:00
Rasmus Thomsen
04ce325809 community/rust: upgrade to 1.39.0 2019-11-24 00:18:10 +01:00
Natanael Copa
351e828ddb community/rust: build fix
we need llvm-libunwind-static
2019-10-04 14:16:35 +00:00
Rasmus Thomsen
94b2a76aba community/rust: rebuild against libLLVM-9.so 2019-10-04 14:16:34 +00:00
J0WI
466fe51bad community/rust: add secfixes 2019-10-01 08:57:39 +00:00
Rasmus Thomsen
daa1d0f079 community/rust: don't use system libgit2 for now
https://github.com/rust-lang/rust/issues/63476
2019-09-27 19:55:30 -03:00
Rasmus Thomsen
b90fdcce43 community/rust: upgrade to 1.38.0 2019-09-27 09:11:41 +02:00
Rasmus Thomsen
9f8f700c3a community/rust: enable on ppc64le
* fix removal of vendored llvm
2019-08-30 18:14:16 -03:00
Rasmus Thomsen
6c8381ba96 community/rust: upgrade to 1.37.0, enable on aarch64&x86 again
Use upstream triplets for now, rust doesn't seem to want to work with our
triplets...

See https://github.com/rust-lang/rust/issues/62447
2019-08-30 02:59:13 -03:00
Leo
fd2996bace community/rust: imit on ppc64le 2019-07-08 07:26:27 -03:00
Leo
af207deaab community/rust: limit on x86 2019-07-07 18:18:52 -03:00
Rasmus Thomsen
6af1d32896 community/rust: upgrade to 1.36.0
* Update alpine-target.patch to fix the triplet on armhf and add the armv7 and ppc64le
  triplets. This should have been done in 69851bdae1177246337f51a35734e93f1fd7e3d3,
  but has been forgotten.
* Remove the following patches:
  	* llvm-with-ffi.patch -> only required when statically linking LLVM
	* bootstrap-tool-respect-tool-config.patch -> plain outdated, not required anymore
2019-07-07 17:29:18 -03:00
Rasmus Thomsen
69851bdae1 community/rust: build on arm{hf,v7}, ppc64le & x86
Also disable full bootstrapping. Since we always bootstrap from $pkgver minus one
we don't need it and it increases buildtime considerably.

Also keep in mind that we have to add new arches in multiple steps:
    1. Compile with the upstream triplets, compiling alpine's triplets in
    2. Compile again, now with our triplets selected as build/target, now that
       rustc knows about them

This means that the produced compilers MUST ONLY be used to bootstrap the actual
compilers with our triplets, DO NOT use these to compile packages! Since x86_64
still uses the usual triplets it's fine to upgrade/add packages for that arch
though, please DO NOT do this for armhf,armv7,aarch64,ppc64le or x86 though!
2019-07-05 08:00:57 -03:00
Rasmus Thomsen
425f6ebacc community/rust: upgrade to 1.35.0
* fix License
2019-06-23 13:55:12 -03:00
Natanael Copa
1b4377072d community/rust: rebuild against llvm8 2019-06-12 13:53:09 +00:00
Rasmus Thomsen
9da87c8845 community/rust: upgrade to 1.34.2
* Adopt maintainership

Closes GH-8057
2019-05-26 17:00:30 +00:00
tcely
fad0db6d70 community/rust: quote "$@"
Expansion of $@ inside double-quotes is special.

It is not appropriate here to re-split the results of the expansion.

Closes GH-8132
2019-05-26 13:23:05 +00:00
Rasmus Thomsen
de1e86703e community/rust: upgrade to 1.33.0
Closes GH-8023
2019-05-24 18:38:18 +00:00
Marat Safin
e066018fc4 community/rust: upgrade to 1.32.0
Signed-off-by: Marat Safin <jeizsm@gmail.com>

Closes GH-6071
2019-05-23 19:38:12 +00:00
Carlo Landmeter
ea086453f4 community/rust: rebuild against new libgit2
needs a temp aport of older libgit2
2019-04-23 05:24:55 +00:00
Marat Safin
7f3d8cb8bb community/rust: upgrade to 1.31.1 2019-01-02 12:11:38 +00:00
Natanael Copa
5df4a9f8f5 community/rust: rebuild against openssl 1.1 2018-11-07 16:46:15 +00:00
Jakub Jirutka
7ba0138bae community/rust: upgrade to 1.30.0 2018-10-25 23:18:24 +02:00
Marat Safin
15cd8b16fa community/rust: upgrade to 1.29.0 2018-09-15 23:40:18 +02:00
Jakub Jirutka
e697372910 community/rust: remove rust.deny-warnings=false, not needed anymore 2018-08-03 15:28:44 +02:00
Jakub Jirutka
e6200a5c61 community/rust: upgrade to 1.28.0 2018-08-03 13:48:31 +02:00
Jakub Jirutka
f64f617640 community/rust: upgrade to 1.27.2 2018-07-21 14:55:24 +02:00
Marat Safin
958bd50f91 community/rust: upgrade to 1.27.0 2018-07-02 21:55:35 +02:00
Jakub Jirutka
861836d59e community/rust: upgrade to 1.26.2 2018-06-08 21:48:32 +02:00
Jakub Jirutka
69cf09dbbc community/rust: fix check error 2018-05-21 00:08:30 +02:00
Jakub Jirutka
b00a8dd49f Revert "community/rust: build rust-installer in build phase"
This reverts commit 792ba86e07a8f0e49a85468b49eca954fcf8fb57.

This actually didn't help, `x.py install` is still building
rust-installer.
2018-05-21 00:08:29 +02:00
Jakub Jirutka
792ba86e07 community/rust: build rust-installer in build phase 2018-05-20 20:16:44 +02:00
Jakub Jirutka
7d8e5d4fea community/rust: simplify abuild, set RUST* env. vars on top-level 2018-05-20 20:16:44 +02:00
Jakub Jirutka
d0e3b62002 community/rust: backport patch PR-50789 from upstream 2018-05-20 20:16:43 +02:00
Jakub Jirutka
f4ff81233a community/rust: return -src subpackage back 2018-05-20 20:16:43 +02:00
Jakub Jirutka
b8367044e1 community/rust: build with analysis data and add subpkg -analysis 2018-05-20 20:16:43 +02:00
Jakub Jirutka
5dff30424f community/rust: makedepend on rust-bootstrap
This is actually not necessary, because rust is pulled by cargo-bootstrap.
However, cargo-bootstrap is provided by this abuild too - it's a hack to
allow the abuild to depend on itself (read comment inside the abuild for
more information)! So rust-bootstrap is just for symmetry with
cargo-bootstrap.
2018-05-20 20:16:43 +02:00
Jakub Jirutka
45575ef1ce community/rust: fix libressl patch 2018-05-20 16:55:04 +02:00
Jakub Jirutka
33def910d7 community/rust: build cargo and add cargo* subpackages
Cargo is now distributed together with rustc. Upstream has removed
Cargo.lock from the cargo's repository in cargo 0.23.0, so we can't
build it with locked and freezed dependencies separately anymore.

alexcrichton replied on Feb 1:
> cargo is packaged next to rustc, it's not intended to be a separate
> package but rather built as one unit.

See 5c9665f41c
2018-05-20 16:46:01 +02:00
Jakub Jirutka
42fb798cb5 community/rust: use x.py install instead of x.py dist 2018-05-20 16:46:01 +02:00
Jakub Jirutka
207941559d community/rust: upgrade to 1.26.0
Also switch to LLVM 5. Upstream switched right to LLVM 6, but we
don't have it yet.
2018-05-20 16:46:01 +02:00
Jakub Jirutka
c8661a5f4d community/rust: temporarily disable -src subpackage
It needs some changes, I'll put it back in the following upgrade.
2018-05-19 20:57:26 +02:00
Jakub Jirutka
21e42bc817 community/rust: upgrade to 1.25.0 2018-05-19 20:57:26 +02:00
Jakub Jirutka
1e7caa70b4 community/rust: reformat makedepends 2018-05-19 20:57:26 +02:00
Jakub Jirutka
02c2d910fc community/rust: mark -src as noarch and disable archcheck 2018-03-02 13:36:44 +01:00
Jakub Jirutka
27ae02705a community/rust: upgrade to 1.24.1 2018-03-02 13:36:44 +01:00
Jakub Jirutka
3311785f17 community/rust: fix name of py2-lldb dependency 2018-02-17 16:08:01 +01:00
Jakub Jirutka
fd9f6936f1 community/rust: build with locked-deps and option-checking 2018-02-17 16:08:01 +01:00