58 Commits

Author SHA1 Message Date
semarie
feb19d4615 update lang/rust to 1.38.0
Release: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1380-2019-09-26
Announce: https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html

ok landry@
2019-09-29 08:23:17 +00:00
semarie
5ff04b132c update lang/rust to 1.37.0
(and add preliminary sparc64 support)

Announce: https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html
Changelog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1370-2019-08-15

ok landry@
2019-08-16 18:14:21 +00:00
semarie
52da7c5584 update lang/rust to 1.36.0
Announce: https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html
Release notes: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1360-2019-07-04

ok landry@
2019-07-09 11:24:28 +00:00
semarie
55e2665c43 update rust to 1.35.0
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1350-2019-05-23
Announce: https://blog.rust-lang.org/2019/05/23/Rust-1.35.0.html

ok landry@
2019-05-24 04:28:24 +00:00
semarie
b4ad310afc update to 1.31.1
it affects only clippy tool.

Announce: https://blog.rust-lang.org/2019/04/25/Rust-1.34.1.html
Changelog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1341-2019-04-25
2019-04-27 08:50:18 +00:00
semarie
ac56eef94e reduces the PLIST divergence between archs by using a controlled way to
generate metadata/hash on libraries.

remove -doc subpackage too, as it has different files depending the
arch.

with that, we should be able to have rustc on more archs.

OK sthen@
2019-04-26 15:08:33 +00:00
semarie
cacb466dd5 update to 1.34.0
announce: https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html
changelog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1340-2019-04-11
2019-04-17 06:55:59 +00:00
semarie
05d1db11a2 update lang/rust to 1.33.0
Announce: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1330-2019-02-28

ok landry@
2019-03-11 19:13:40 +00:00
semarie
2d7b810f6a update lang/rust bootstraps to change a bit the way hash metadata is
generated.

in general case, the output of `rustc -vV` is still used as part of the
hashed data. the output contains the exact version of the rustc and the
LLVM version used.

but when used for build the port, it will use a less changing string:
only the major+minor version (without patch number) and no more LLVM
version.

the choice between the two way is based on the presence of environment
variable.

it will permit to avoid change in filenames (and so PLIST regeneration
requirement) when:
- patch release of rustc is pushed
- llvm is updated
2019-01-27 05:25:29 +00:00
semarie
e96fa506fd update to 1.32.0
Announcing: https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1320-2019-01-17

ok landry@
2019-01-22 05:07:19 +00:00
semarie
d2891f6e1c maintenance update to 1.31.1
Version 1.31.1 (2018-12-20)
- Fix Rust failing to build on powerpc-unknown-netbsd
- Fix broken go-to-definition in RLS
- Fix infinite loop on hover in RLS
2018-12-21 08:24:19 +00:00
semarie
ea37087119 build clippy (linter) and rustfmt (code formatter) and provide them in
subpackages. while here create a subpackage for rust-gdb also.

looks good landry@
2018-12-16 09:19:57 +00:00
semarie
97f5af796f update lang/rust to 1.31.0
Announcing: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
Release notes: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1310-2018-12-06

ok landry@
2018-12-08 09:16:09 +00:00
landry
400668b248 Minor update to rust 1.30.1, from semarie@
See https://blog.rust-lang.org/2018/11/08/Rust-1.30.1.html
2018-11-10 11:12:25 +00:00
landry
59c5804603 Update to rust 1.30, from semarie@
cf https://blog.rust-lang.org/2018/10/25/Rust-1.30.0.html
2018-11-01 13:50:30 +00:00
landry
7a32ba9f02 Update to rust 1.29.2, from semarie@.
See https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1292-2018-10-11
Fixes https://github.com/rust-lang/rust/issues/54462
ok sthen@
2018-10-08 15:25:58 +00:00
landry
9a672b42ce Security update to rust 1.29.1, from semarie@
See https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1291-2018-09-25
Fixes a buffer overflow in the standard library.
2018-09-24 07:09:14 +00:00
matthieu
67630132a1 Remove duplicate -doc plist entries on aarch64.
no version bump since rust-doc  didn't package before on aarch64
and doesn't change on other architectures.

ok semarie.
2018-09-18 10:05:56 +00:00
landry
b649d81240 Update to rust 1.29, from MAINTAINER semarie@ 2018-09-16 16:35:27 +00:00
landry
5e6fda05b7 Update to rust 1.28, from semarie@ 2018-08-06 19:07:50 +00:00
landry
e6a33d4d24 Update to rust 1.27.2, from semarie@
Cf https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1272-2018-07-20
2018-07-23 06:56:43 +00:00
ajacoutot
53ecf84de5 Update to rust to 1.27.1:
https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1271-2018-07-10

It contains also a fix that changes the way libcompiler_rt.a is included by
rustc in order to avoid duplicated symbols in a static library (some symbols
from system libcompiler_rt.a, others from Rust itself).

from semarie, thank you :-)
2018-07-11 08:35:59 +00:00
landry
f6abf52cb3 Update to rust 1.27.0, from semarie@
ok kn@
2018-06-29 05:19:47 +00:00
landry
a9b8e30c8a Bugfix update to rust 1.26.1, from semarie@ 2018-06-01 06:02:10 +00:00
landry
89983c31ea Update to rust 1.26, from semarie@
Cf https://blog.rust-lang.org/2018/05/10/Rust-1.26.html

- add arm64 support, tested by phessler@
- respect MAKE_JOBS again
- use lld on i386 to support 128 bits integers
- cleanup old patches
- only build what we actually package
2018-05-22 06:04:33 +00:00
ajacoutot
8c4f93277d Adapt to new LLVM.
from Brad
2018-04-07 14:56:24 +00:00
sthen
0dff1ce088 sync plists for i386 2018-04-06 07:12:28 +00:00
landry
2fddfb733a Update to rust 1.25.0, from semarie@
- to keep RUST_BACKTRACE=1 enabled during build, properly separate
  MAKE_ENV and TEST_ENV, by introducing a TEST_BIN variable used to
launch rustbuild with TEST_ENV (some tests are failing if RUST_BACKTRACE
is enabled).

- remove llvm-6 backported patches. this version of rustc has full
  support of it. Hashes in library names will change when ports llvm
is upgraded, so PLIST will have to be regenerated.

- backport #49140 to be able to run "make test" without installing rustc
2018-04-02 07:21:50 +00:00
landry
87781971db Update to rust 1.24, from semarie@ (MAINTAINER)
Backports some patches for LLVM6 compatibility.

Note that this is likely to be BROKEN-i386 soonish, i'm giving it a last
chance locally but i never managed to build it here. That also means we
can say goodbye to firefox on i386.
2018-02-23 16:38:16 +00:00
landry
13eb53520f Update to rust 1.23, from semarie@ (MAINTAINER)
Tested on amd64 & i386, building firefox 59 betas.
2018-01-27 09:22:00 +00:00
landry
97894fe4c9 Update to rust 1.22.1.
full changelog at https://blog.rust-lang.org/2017/11/22/Rust-1.22.html

port changes:
- switch to clang and libc++ (instead of egcc and estdc++)
- use devel/llvm instead of the embedded llvm version
- make i386 produce code for 'pentiumpro' instead of 'pentium4' so that
ppl can use ripgrep on pentium II's (yay!)
- use a hack (codegen-units=16) to fix memory pressure issues on i386.
  Might not work forever.....

tested on i386 & amd64, went into an i386 bulk.
all the hard work from semarie@
2017-12-04 17:31:49 +00:00
danj
0888a63c75 Update to rust-1.21.0
From semarie (maintainer)
2017-10-17 17:19:24 +00:00
danj
9353488b77 Update to rust-1.20.0
From semarie (devoted maintainer)
2017-09-03 14:08:36 +00:00
danj
5057038dd9 Update to rust-1.19.0
It now includes cargo

From semarie (maintainer)
2017-07-31 13:19:13 +00:00
danj
53aebe2b67 Update to rust-1.18.0
From semarie (maintainer)
2017-06-17 02:06:53 +00:00
landry
8684e41af8 Add a symlink to base libgcc.a in rust libraries subdir, so that
clang/rust finds it when linking some rust code - somewhat needed by
stylo (the css engine written in rust within mozilla). Modeled after
what is done in lang/g77.

From semarie@, who discussed it with espie@.
2017-05-18 06:39:49 +00:00
landry
085fe34c6a Update to rust 1.17.0, from semarie@
Use ports llvm instead of building the bundled copy (yay!)
More work needed to actually build with clang ...
2017-05-05 11:40:29 +00:00
danj
5b02af3d3d Update to rust-1.16.0
From semarie, discussed with edd@ and landry@
ok edd@ landry@
2017-03-27 12:35:31 +00:00
landry
ba61ea94c0 Update to rust 1.15.1.
- switch to rustbuild build system instead of configure (the world
  definitely needed one more build system!)
- the build still takes +INF hours, this is being investigated

Note that rust will be a hard-requirement for gecko 54... sigh.

Tested by semarie@ and myself on i386 & amd64.

All the hard work and countless build hours by semarie@, thanks!
2017-02-15 12:52:35 +00:00
landry
67092985c1 update rust to 1.14.0, from MAINTAINER semarie@
for details, please see https://blog.rust-lang.org/2016/12/22/Rust-1.14.html

tested on i386 w/ llvm 3.9.0 here, and sebastien tested both amd64 & i386.
2016-12-26 13:52:46 +00:00
juanfra
5ef55a2e76 Add support for i386 to rust. From semarie (MAINTAINER). 2016-12-06 22:39:49 +00:00
danj
e1c2d8f71b Update to rust-1.13.0, from semarie who takes maintainership again
ok aja@
2016-11-12 16:42:24 +00:00
danj
e0210e3221 Update to rust-1.12.0
From semarie (maintainer), ok ajacoutot
2016-10-05 16:48:10 +00:00
landry
db735d1b2f Update to rust 1.11.0, from semarie@, thanks!
All tests passing here.
2016-08-31 08:33:19 +00:00
semarie
094c2dd09a lang/rust update to 1.9.0
- changes in Makefile to make it compute itself the RUST_HASH value

- use new configure option --disable-codegen-tests as with don't have FileCheck
  (from llvm) binary. remove the patches in configure and src/compiletest/runtest.rs

- disable (for now) two news tests added with unix socket support, that doesn't
  pass. I will investigate them later.

- disable run-pass/backtrace test. The support of libbacktrace has been remove
  recently.
2016-05-29 07:26:46 +00:00
semarie
f29eca3929 lang/rust: fallback to LOCALBASE for sysroot
- std::env::current_exe() returns an error instead of returning wrong
  pathname (no complete, but rust build scripts makes (bad)
  assumptions that I couldn't patch for now).

- rustc / rustdoc to use CFG_PREFIX (configure --prefix value) when
  std::env::current_exe() return an error

- remove the installed wrapper used to pass --sysroot argument to
  rustc (the wrapper was used for workaround the problem differently
  for rustc, but didn't resolv the problem for rustdoc as it doesn't
  have --sysroot argument).

looks ok edd@
2016-05-25 06:39:35 +00:00
semarie
9414cd5321 add plist update too in lang/rust
(and bump revision)

bad semarie@, no cookie.
2016-04-14 03:42:12 +00:00
semarie
fc59f1c69d update lang/rust to 1.7.0
"looks reasonable" bmercer@
2016-03-05 15:05:33 +00:00
semarie
6cc1d59ac2 update lang/rust to 1.6.0
ok juanfra@
2016-01-22 09:03:14 +00:00
semarie
a7ac139c37 install libraries with rustc
- remove now unneeded MAKE_ENV option to pass --sysroot argument to bootstrapper
- backport the latest changes for building rustc under openbsd
- switch the install from installing a stage3 rustc binary to installing a stage2 rustc binary (and all required libraries)

ok juanfra@
2016-01-13 07:39:07 +00:00