Skip to content

Commit cbb88fa

Browse files
committedAug 6, 2016
Merge branch 'master' into issue-30961
2 parents fc210a8 + b30eff7 commit cbb88fa

File tree

663 files changed

+15287
-8642
lines changed

Some content is hidden

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

663 files changed

+15287
-8642
lines changed
 

‎.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ services:
77
# our configure script, so disable auto submodule management.
88
git:
99
submodules: false
10+
depth: 1
1011

1112
before_install:
1213
- docker build -t rust -f src/etc/Dockerfile src/etc

‎configure

+9-3
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ opt dist-host-only 0 "only install bins for the host architecture"
609609
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
610610
opt llvm-version-check 1 "check if the LLVM version is supported, build anyway"
611611
opt rustbuild 0 "use the rust and cargo based build system"
612-
opt orbit 0 "get MIR where it belongs - everywhere; most importantly, in orbit"
612+
opt orbit 1 "get MIR where it belongs - everywhere; most importantly, in orbit"
613613
opt codegen-tests 1 "run the src/test/codegen tests"
614614
opt option-checking 1 "complain about unrecognized options in this configure script"
615615
opt ninja 0 "build LLVM using the Ninja generator (for MSVC, requires building in the correct environment)"
@@ -733,7 +733,7 @@ if [ -n "$CFG_ENABLE_DEBUG_ASSERTIONS" ]; then putvar CFG_ENABLE_DEBUG_ASSERTION
733733
if [ -n "$CFG_ENABLE_DEBUGINFO" ]; then putvar CFG_ENABLE_DEBUGINFO; fi
734734
if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi
735735

736-
if [ -n "$CFG_ENABLE_ORBIT" ]; then putvar CFG_ENABLE_ORBIT; fi
736+
if [ -n "$CFG_DISABLE_ORBIT" ]; then putvar CFG_DISABLE_ORBIT; fi
737737

738738
step_msg "looking for build programs"
739739

@@ -1020,6 +1020,12 @@ then
10201020
err "bad LLVM version: $LLVM_VERSION, need >=3.7"
10211021
;;
10221022
esac
1023+
1024+
if "$CFG_LLVM_ROOT/bin/llvm-mc" -help | grep -- "-relocation-model"; then
1025+
msg "found older llvm-mc"
1026+
CFG_LLVM_MC_HAS_RELOCATION_MODEL=1
1027+
putvar CFG_LLVM_MC_HAS_RELOCATION_MODEL
1028+
fi
10231029
fi
10241030

10251031
# Even when the user overrides the choice of CC, still try to detect
@@ -1192,7 +1198,7 @@ do
11921198
;;
11931199

11941200

1195-
x86_64-*-musl)
1201+
x86_64-*-musl | arm-*-musleabi)
11961202
if [ ! -f $CFG_MUSL_ROOT/lib/libc.a ]
11971203
then
11981204
err "musl libc $CFG_MUSL_ROOT/lib/libc.a not found"

0 commit comments

Comments
 (0)