Skip to content

Commit 5e3c29e

Browse files
committed
---
yaml --- r: 36137 b: refs/heads/try2 c: 47baebc h: refs/heads/master i: 36135: 6cb8547 v: v3
1 parent 88cc3b2 commit 5e3c29e

File tree

469 files changed

+10487
-6288
lines changed

Some content is hidden

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

469 files changed

+10487
-6288
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 1afa29986fe62cf817e886412dfb6d42b2d5f7e5
8+
refs/heads/try2: 47baebc68cb0cd36e9e098d33314ff533a5e65c6
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ version.texi
5555
config.mk
5656
/rt/
5757
/rustllvm/
58-
/linenoise
5958
/test/
6059
/build/
6160
/inst/
@@ -81,3 +80,4 @@ tmp.*.rs
8180
config.stamp
8281
.DS_Store
8382
src/etc/dl
83+
.settings/

branches/try2/.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
[submodule "src/libuv"]
55
path = src/libuv
66
url = git://github.com/graydon/libuv.git
7-
[submodule "src/linenoise"]
8-
path = src/linenoise
9-
url = git://github.com/antirez/linenoise.git

branches/try2/AUTHORS.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Benjamin Peterson <[email protected]>
2323
Brendan Eich <[email protected]>
2424
Brian Anderson <[email protected]>
2525
Brian J. Burg <[email protected]>
26-
Brian Leibig <[email protected]>
2726
Chris Double <[email protected]>
2827
Chris Peterson <[email protected]>
2928
Damian Gryski <[email protected]>
@@ -42,6 +41,7 @@ Erick Tryzelaar <[email protected]>
4241
Erik Rose <[email protected]>
4342
Evan McClanahan <[email protected]>
4443
Francisco Souza <[email protected]>
44+
4545
Gareth Daniel Smith <[email protected]>
4646
Glenn Willen <[email protected]>
4747
Gonçalo Cabrita <[email protected]>
@@ -73,7 +73,9 @@ Kevin Cantu <[email protected]>
7373
Lennart Kudling
7474
Lindsey Kuper <[email protected]>
7575
Luca Bruno <[email protected]>
76+
Luqman Aden <[email protected]>
7677
Magnus Auvinen <[email protected]>
78+
Mahmut Bulut <[email protected]>
7779
Margaret Meyerhofer <[email protected]>
7880
Marijn Haverbeke <[email protected]>
7981
Matt Brubeck <[email protected]>
@@ -106,6 +108,7 @@ Tim Chevalier <[email protected]>
106108
107109
Tomoki Aonuma <[email protected]>
108110
Tycho Sci <[email protected]>
111+
Viktor Dahl <[email protected]>
109112
Vincent Belliard <[email protected]>
110113
Wade Mealing <[email protected]>
111114
Yasuhiro Fujii <[email protected]>

branches/try2/Makefile.in

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ endif
7474

7575
CFG_RUSTC_FLAGS := $(RUSTFLAGS)
7676
CFG_GCCISH_CFLAGS :=
77-
CFG_GCCISH_CXXFLAGS :=
7877
CFG_GCCISH_LINK_FLAGS :=
7978

8079
ifdef CFG_DISABLE_OPTIMIZE
@@ -133,7 +132,7 @@ LIBSYNTAX_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,syntax)
133132

134133
# version-string calculation
135134
CFG_GIT_DIR := $(CFG_SRC_DIR).git
136-
CFG_RELEASE = 0.4
135+
CFG_RELEASE = 0.5
137136
CFG_VERSION = $(CFG_RELEASE)
138137

139138
ifneq ($(wildcard $(CFG_GIT)),)
@@ -145,8 +144,9 @@ ifneq ($(wildcard $(CFG_GIT_DIR)),)
145144
endif
146145
endif
147146

148-
ifdef CFG_DISABLE_VALGRIND
149-
$(info cfg: disabling valgrind (CFG_DISABLE_VALGRIND))
147+
ifdef CFG_ENABLE_VALGRIND
148+
$(info cfg: enabling valgrind (CFG_ENABLE_VALGRIND))
149+
else
150150
CFG_VALGRIND :=
151151
endif
152152
ifdef CFG_BAD_VALGRIND
@@ -337,8 +337,7 @@ HSREQ$(1)_H_$(3) = \
337337
TSREQ$(1)_T_$(2)_H_$(3) = \
338338
$$(HSREQ$(1)_H_$(3)) \
339339
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_RUNTIME) \
340-
$$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a \
341-
$$(TLIB$(1)_T_$(2)_H_$(3))/liblinenoise.a
340+
$$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a
342341

343342
# Prerequisites for complete stageN targets
344343
SREQ$(1)_T_$(2)_H_$(3) = \
@@ -451,10 +450,9 @@ TSREQS := \
451450
$(SREQ3_T_$(target)_H_$(CFG_HOST_TRIPLE)))
452451
FUZZ := $(HBIN2_H_$(CFG_HOST_TRIPLE))/fuzzer$(X)
453452
CARGO := $(HBIN2_H_$(CFG_HOST_TRIPLE))/cargo$(X)
454-
RUSTI := $(HBIN2_H_$(CFG_HOST_TRIPLE))/rusti$(X)
455453
RUSTDOC := $(HBIN2_H_$(CFG_HOST_TRIPLE))/rustdoc$(X)
456454

457-
all: rustc $(GENERATED) docs $(FUZZ) $(CARGO) $(RUSTDOC) $(RUSTI)
455+
all: rustc $(GENERATED) docs $(FUZZ) $(CARGO) $(RUSTDOC)
458456

459457
endif
460458

@@ -492,7 +490,6 @@ include $(CFG_SRC_DIR)mk/host.mk
492490
include $(CFG_SRC_DIR)mk/stage0.mk
493491
include $(CFG_SRC_DIR)mk/rt.mk
494492
include $(CFG_SRC_DIR)mk/rustllvm.mk
495-
include $(CFG_SRC_DIR)mk/linenoise.mk
496493
include $(CFG_SRC_DIR)mk/tools.mk
497494
include $(CFG_SRC_DIR)mk/docs.mk
498495
include $(CFG_SRC_DIR)mk/llvm.mk

branches/try2/configure

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ need_cmd cmp
187187
need_cmd mkdir
188188
need_cmd printf
189189
need_cmd cut
190+
need_cmd head
190191
need_cmd grep
191192
need_cmd xargs
192193
need_cmd cp
@@ -257,6 +258,16 @@ case $CFG_CPUTYPE in
257258
err "unknown CPU type: $CFG_CPUTYPE"
258259
esac
259260

261+
# Detect 64 bit linux systems with 32 bit userland and force 32 bit compilation
262+
if [ $CFG_OSTYPE = unknown-linux-gnu -a $CFG_CPUTYPE = x86_64 ]
263+
then
264+
file -L "$SHELL" | grep -q "x86[_-]64"
265+
if [ $? != 0 ]; then
266+
CFG_CPUTYPE=i686
267+
fi
268+
fi
269+
270+
260271
DEFAULT_HOST_TRIPLE="${CFG_CPUTYPE}-${CFG_OSTYPE}"
261272

262273
CFG_SRC_DIR="$(cd $(dirname $0) && pwd)/"
@@ -283,7 +294,7 @@ else
283294
fi
284295

285296
opt sharedstd 1 "build libstd as a shared library"
286-
opt valgrind 1 "run tests with valgrind (memcheck by default)"
297+
opt valgrind 0 "run tests with valgrind (memcheck by default)"
287298
opt helgrind 0 "run tests with helgrind instead of memcheck"
288299
opt docs 1 "build documentation"
289300
opt optimize 1 "build optimized rust code"
@@ -352,11 +363,16 @@ fi
352363

353364
if [ ! -z "$CFG_PANDOC" ]
354365
then
355-
PV=$(pandoc --version | awk '/^pandoc/ {print $2}')
356-
if [ "$PV" \< "1.8" ]
366+
PANDOC_VER_LINE=$(pandoc --version | grep '^pandoc ')
367+
PANDOC_VER=${PANDOC_VER_LINE#pandoc }
368+
PV_MAJOR_MINOR=${PANDOC_VER%.[0-9]*}
369+
PV_MAJOR=${PV_MAJOR_MINOR%%[.][0-9]*}
370+
PV_MINOR=${PV_MAJOR_MINOR#[0-9]*[.]}
371+
PV_MINOR=${PV_MINOR%%[.][0-9]*}
372+
if [ "$PV_MAJOR" -lt "1" ] || [ "$PV_MINOR" -lt "8" ]
357373
then
358-
step_msg "pandoc $PV is too old. disabling"
359-
BAD_PANDOC=1
374+
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. disabling"
375+
BAD_PANDOC=1
360376
fi
361377
fi
362378

@@ -508,12 +524,6 @@ do
508524
make_dir rustllvm/$t
509525
done
510526

511-
make_dir linenoise
512-
for t in $CFG_TARGET_TRIPLES
513-
do
514-
make_dir linenoise/$t
515-
done
516-
517527
make_dir rt
518528
for t in $CFG_TARGET_TRIPLES
519529
do
@@ -585,7 +595,7 @@ then
585595
need_ok "git failed"
586596

587597
msg "git: submodule foreach sync"
588-
"${CFG_GIT}" submodule --quiet foreach --recursive git submodule sync
598+
"${CFG_GIT}" submodule --quiet foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi'
589599
need_ok "git failed"
590600

591601
msg "git: submodule foreach update"

0 commit comments

Comments
 (0)