Update builders for rust 1.7

RESOLVED FIXED in Firefox 48

Status

defect
RESOLVED FIXED
3 years ago
Last year

People

(Reporter: rillian, Assigned: rillian)

Tracking

Trunk
mozilla48
Dependency tree / graph

Firefox Tracking Flags

(firefox47 affected, firefox48 fixed)

Details

Attachments

(3 attachments, 1 obsolete attachment)

Rust 1.7 stable is scheduled from release 2016 March 3. This bug is for updating the various official firefox builds.
If we are using your build scripts, can we make our builds use |--channel stable| or whatever the option is so that we can interoperate with the standard libraries from rust-lang.org?
Flags: needinfo?(giles)
Worth a try. I'm worried about version skew though. Is building our own rust std library worse than building our own compiler?

I don't think this will work on mac while we have --disable-elf-tls, but linux only has --enable-llvm-static-stdcpp which I don't think will cause conflicts.
Flags: needinfo?(giles)
linux64 build of 1.7.0 stable targeting x86_64 and i686. Built and uploaded by https://tools.taskcluster.net/task-inspector/#ZSNL6FCoT7mWahGGxpWCOQ/0 from https://github.com/rillian/rust-build commit e4902d5a072b488bc7e55ec6b8fb0f5c72186a1e.

Nathan, this one includes --release-channel=stable if you want to experiment with using upstream std library builds.

[
{
"algorithm": "sha512",
"visibility": "public",
"filename": "rustc.tar.xz",
"unpack": true,
"digest": "5383d843c9f28abf0a6d254e9d975d96972d2c86d627ca836fa8e272a5d53230603b387d7d1499c49df7f84b1bb946946e800a85c88d968bdbe81c755fcb02e1",
"size": 89319524
}
]
MacOS X build of 1.7.0 stable targetting x86_64 and i686. Built with --disable-elf-tls --disable-docs --target=x86_64-apple-darwin,i686-apple-darwin on my laptop from https://github.com/rillian/rust-build commit e4902d5a072b488bc7e55ec6b8fb0f5c72186a1e using

  WORKSPACE=$PWD/rust RUST_BRANCH=1.7.0 /bin/bash fetch-rust.sh
  WORKSPACE=$PWD/rust RUST_BRANCH=1.7.0 /bin/bash build_rust_mac.sh

and uploaded manually.

[
{
"algorithm": "sha512",
"visibility": "public",
"filename": "rustc.tar.bz2",
"unpack": true,
"digest": "6078bafd377b8e6d88d92c9ecd9125f4f043d7aec150c76dd667cb92a3e34dc3142a982c7afdff1534b1bec26a597ae77c354481a035893e722e3bd086bedbd2",
"size": 101361785
}
]
Repacked the upstream release builds of 1.7.0 stable for win64.

Download, verify and unpack
https://static.rust-lang.org/dist/rustc-1.7.0-x86_64-pc-windows-msvc.tar.gz
https://static.rust-lang.org/dist/rust-std-1.7.0-x86_64-pc-windows-msvc.tar.gz

mkdir rustc
rustc-1.7.0-x86_64-pc-windows-msvc/install.sh --prefix=$PWD/rustc --disable-ldconfig
rust-std-1.7.0-x86_64-pc-windows-msvc/install.sh --prefix=$PWD/rustc --disable-ldconfig
tar cvjf rustc-1.7.0-x86_64-pc-windows-msvc.tar.bz rustc/*

[
{
"algorithm": "sha512",
"visibility": "public",
"filename": "rustc-1.7.0-x86_64-pc-windows-msvc.tar.bz",
"unpack": true,
"digest": "c4704dcc6774b9f3baaa9313192d26e36bfba2d4380d0518ee7cb89153d9adfe63f228f0ac29848f02948eb1ab7e6624ba71210f0121196d2b54ecebd640d1e6",
"size": 80157273
}
]
Repacked the upstream beta builds of 1.8 for win32. (Supporting win32 still requires unwind changes in 1.8 which isn't in stable release yet.)

Download, verify and unpack
https://static.rust-lang.org/dist/rustc-beta-i686-pc-windows-msvc.tar.gz
https://static.rust-lang.org/dist/rust-std-beta-i686-pc-windows-msvc.tar.gz

mkdir rustc
rustc-beta-i686-pc-windows-msvc/install.sh --prefix=$PWD/rustc --disable-ldconfig
rust-std-beta-i686-pc-windows-msvc/install.sh --prefix=$PWD/rustc --disable-ldconfig
tar cvjf rustc-beta-i686-pc-windows-msvc.tar.bz rustc/*

[
{
"algorithm": "sha512",
"visibility": "public",
"filename": "rustc-beta-i686-pc-windows-msvc.tar.bz2",
"unpack": true,
"digest": "9c2c40637de27a0852aa1166f2a08159908b23f7a55855c933087c541461bbb2a1ec9e0522df0d2b9da2b2c343b673dbb5a2fa8d30216fe8acee1eb1383336ea",
"size": 78886322
}
]
Comment on attachment 8726464 [details] [diff] [review]
Update macosx tooltool rust to 1.7.0

Turns out --disable-elf-tls is broken in 1.7.0, so leave Mac on 1.6.0 for now.
Attachment #8726464 - Attachment is obsolete: true
Attachment #8726463 - Flags: review?(mshal)
Attachment #8726465 - Flags: review?(mshal)
Attachment #8726466 - Flags: review?(mshal)
Comment on attachment 8726463 [details] [diff] [review]
Update linux64 tooltool rust to 1.7.0

These all look good to me!
Attachment #8726463 - Flags: review?(mshal) → review+
Attachment #8726465 - Flags: review?(mshal) → review+
Attachment #8726466 - Flags: review?(mshal) → review+

Updated

Last year
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.