Skip to content

Commit a9816c3

Browse files
committed
---
yaml --- r: 156254 b: refs/heads/snap-stage3 c: ff61b74 h: refs/heads/master v: v3
1 parent ea5ce93 commit a9816c3

File tree

1,037 files changed

+26784
-29327
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,037 files changed

+26784
-29327
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: c29a7520e7fb4a5b4d4eccfc594e05793ef6688d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 84ce372ceec5322f8bfef82367e03bd7a4de3184
4+
refs/heads/snap-stage3: ff61b74a7d98bae2586047227579733080b71cf6
55
refs/heads/try: 6601b0501e31d08d3892a2d5a7d8a57ab120bf75
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/.gitmodules

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
path = src/llvm
33
url = https://github.com/rust-lang/llvm.git
44
branch = master
5-
[submodule "src/libuv"]
6-
path = src/libuv
7-
url = https://github.com/rust-lang/libuv.git
8-
branch = master
9-
[submodule "src/gyp"]
10-
path = src/gyp
11-
url = https://github.com/rust-lang/gyp.git
125
[submodule "src/compiler-rt"]
136
path = src/compiler-rt
147
url = https://github.com/rust-lang/compiler-rt.git

branches/snap-stage3/.travis.yml

Lines changed: 11 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,19 @@
11
# Use something that's not 'ruby' so we don't set up things like
2-
# RVM/bundler/ruby and whatnot. Right now 'rust' isn't a language on travis and
3-
# it treats unknown languages as ruby-like I believe.
2+
# RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
3+
# downloads a rust/cargo snapshot, which we don't really want for building rust.
44
language: c
55

6-
# Before we start doing anything, install a stock LLVM
7-
install:
8-
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
9-
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
10-
- sudo sh -c "echo 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main' >> /etc/apt/sources.list"
11-
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
12-
- sudo apt-get update -qq
13-
- sudo apt-get install -qq --force-yes -y llvm-$LLVM_VERSION
14-
llvm-${LLVM_VERSION}-dev clang-$LLVM_VERSION lldb-$LLVM_VERSION
15-
16-
17-
# All of the llvm tools are suffixed with "-$VERS" which we don't want, so
18-
# symlink them all into a local directory and just use that
6+
# The test suite is in general way too stressful for travis, especially in
7+
# terms of time limit and reliability. In the past we've tried to scale things
8+
# back to only build the stage1 compiler and run a subset of tests, but this
9+
# didn't end up panning out very well.
1910
#
20-
# FIXME: this shouldn't update the src/llvm sub-repo, that takes about a minute
21-
# it's gotta download so much stuff.
11+
# As a result, we're just using travis to run `make tidy` now. It'll help
12+
# everyone find out about their trailing spaces early on!
2213
before_script:
23-
- mkdir -p local-llvm/bin
24-
- ln -nsf /usr/bin/llvm-config-$LLVM_VERSION local-llvm/bin/llvm-config
25-
- ln -nsf /usr/bin/llvm-mc-$LLVM_VERSION local-llvm/bin/llvm-mc
26-
- ln -nsf /usr/bin/llvm-as-$LLVM_VERSION local-llvm/bin/llvm-as
27-
- ln -nsf /usr/bin/llvm-dis-$LLVM_VERSION local-llvm/bin/llvm-dis
28-
- ln -nsf /usr/bin/llc-$LLVM_VERSION local-llvm/bin/llc
29-
- ln -nsf /usr/include/llvm-$LLVM_VERSION local-llvm/include
30-
- ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm
31-
--enable-fast-make --enable-clang
32-
33-
# Tidy everything up first, then build a few things, and then run a few tests.
34-
# Note that this is meant to run in a "fairly small" amount of time, so this
35-
# isn't exhaustive at all.
36-
#
37-
# As a result of https://github.com/travis-ci/travis-ci/issues/1066, we run
38-
# everything in one large command instead of multiple commands.
39-
script: |
40-
if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then
41-
if [[ $LLVM_VERSION != '3.4' ]]; then exit 0; fi
42-
fi &&
43-
make tidy &&
44-
make -j4 rustc-stage1 RUSTFLAGS='-Z time-passes' &&
45-
make check-stage1-std check-stage1-rpass check-stage1-cfail check-stage1-rfail check-stage1-doc
46-
47-
env:
48-
global:
49-
- NO_BENCH=1
50-
matrix:
51-
- LLVM_VERSION=3.3
52-
- LLVM_VERSION=3.4
53-
54-
# We track this ourselves, and in theory we don't have to update the LLVM repo
55-
# (but sadly we do right now anyway).
56-
git:
57-
submodules: false
14+
- ./configure --llvm-root=path/to/nowhere
15+
script:
16+
- make tidy
5817

5918
notifications:
6019
email: false

0 commit comments

Comments
 (0)