Skip to content

Commit 2e5cbcb

Browse files
committed
---
yaml --- r: 92407 b: refs/heads/auto c: 4c79b22 h: refs/heads/master i: 92405: 3c54b5f 92403: c9fe02c 92399: e530950 v: v3
1 parent 9e2710c commit 2e5cbcb

Some content is hidden

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

66 files changed

+889
-767
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: b6933f8d8b86f78ac7b5f70f0781d794144763a0
16+
refs/heads/auto: 4c79b22ef26a2b846d84c46bc8fea50c953559dd
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/configure

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -910,11 +910,9 @@ do
910910
# Try to have LLVM pull in as few dependencies as possible (#9397)
911911
LLVM_OPTS="$LLVM_OPTS --disable-zlib --disable-libffi"
912912

913-
# Use win32 native thread/lock apis instead of pthread wrapper.
914-
# (llvm's configure tries to find pthread first, so we have to disable it explicitly.)
915-
# Also note that pthreads works badly on mingw-w64 systems: #8996
913+
# pthreads works badly on mingw-w64 systems: #8996
916914
case "$CFG_BUILD" in
917-
(*-mingw32)
915+
(*w64-mingw32)
918916
LLVM_OPTS="$LLVM_OPTS --disable-pthreads"
919917
;;
920918
esac

branches/auto/mk/llvm.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ $(S)src/librustc/lib/llvmdeps.rs: \
5151
$(LLVM_CONFIGS) \
5252
$(S)src/etc/mklldeps.py
5353
$(Q)$(CFG_PYTHON) $(S)src/etc/mklldeps.py \
54-
"$@" "$(LLVM_COMPONENTS)" $(LLVM_CONFIGS)
54+
"$(LLVM_COMPONENTS)" $(LLVM_CONFIGS) \
55+
> $@
5556

5657
$(foreach host,$(CFG_HOST), \
5758
$(eval $(call DEF_LLVM_RULES,$(host))))

branches/auto/mk/tests.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -920,15 +920,14 @@ $$(call TEST_OK_FILE,$(1),$(2),$(3),rmake): \
920920

921921
$(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \
922922
$(S)src/test/run-make/%/Makefile \
923-
$$(CSREQ$(1)_T_$(2)_H_$(3))
923+
$$(HSREQ$(1)_H_$(3))
924924
@rm -rf $(3)/test/run-make/$$*
925925
@mkdir -p $(3)/test/run-make/$$*
926926
@echo maketest: $$*
927927
$$(Q)$$(CFG_PYTHON) $(S)src/etc/maketest.py $$(dir $$<) \
928928
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
929929
$(3)/test/run-make/$$* \
930-
"$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))" \
931-
$$(HBIN$(1)_H_$(3))/rustdoc$$(X_$(3))
930+
"$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))"
932931
@touch $$@
933932

934933
endef

branches/auto/src/etc/maketest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
os.putenv('RUSTC', os.path.abspath(sys.argv[2]))
88
os.putenv('TMPDIR', os.path.abspath(sys.argv[3]))
99
os.putenv('CC', sys.argv[4])
10-
os.putenv('RUSTDOC', os.path.abspath(sys.argv[5]))
1110

1211
proc = subprocess.Popen(['make', '-C', sys.argv[1]],
1312
stdout = subprocess.PIPE,

branches/auto/src/etc/mklldeps.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
import sys
55
import subprocess
66

7-
f = open(sys.argv[1], 'wb')
7+
components = sys.argv[1].split(' ')
88

9-
components = sys.argv[2].split(' ')
10-
11-
f.write("""// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
9+
print """// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
1210
// file at the top-level directory of this distribution and at
1311
// http://rust-lang.org/COPYRIGHT.
1412
//
@@ -20,10 +18,10 @@
2018
2119
// WARNING: THIS IS A GENERATED FILE, DO NOT MODIFY
2220
// take a look at src/etc/mklldeps.py if you're interested
23-
""")
21+
"""
2422

25-
for llconfig in sys.argv[3:]:
26-
f.write("\n")
23+
for llconfig in sys.argv[2:]:
24+
print
2725

2826
proc = subprocess.Popen([llconfig, '--host-target'], stdout = subprocess.PIPE)
2927
out, err = proc.communicate()
@@ -44,7 +42,7 @@
4442
"target_os = \"" + os + "\"",
4543
]
4644

47-
f.write("#[cfg(" + ', '.join(cfg) + ")]\n")
45+
print "#[cfg(" + ', '.join(cfg) + ")]"
4846

4947
args = [llconfig, '--libs']
5048
args.extend(components)
@@ -53,7 +51,8 @@
5351

5452
for lib in out.strip().split(' '):
5553
lib = lib[2:] # chop of the leading '-l'
56-
f.write("#[link(name = \"" + lib + "\", kind = \"static\")]\n")
54+
print "#[link(name = \"" + lib + "\", kind = \"static\")]"
5755
if os == 'win32':
58-
f.write("#[link(name = \"imagehlp\")]\n")
59-
f.write("extern {}\n")
56+
print "#[link(name = \"pthread\")]"
57+
print "#[link(name = \"imagehlp\")]"
58+
print "extern {}"

branches/auto/src/etc/snapshot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def scrub(b):
3232
}
3333

3434
winnt_runtime_deps = ["libgcc_s_dw2-1.dll",
35-
"libstdc++-6.dll"]
35+
"libstdc++-6.dll",
36+
"libpthread-2.dll"]
3637

3738
def parse_line(n, line):
3839
global snapshotfile

0 commit comments

Comments
 (0)