From 86bbd6923c4e39ed77160465717f7b0dde477b2d Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Mon, 3 Jul 2017 02:02:53 +0200 Subject: [PATCH 1/3] HALT on deprecation messages --- posix.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix.mak b/posix.mak index 69c253dde2..b30581bb92 100644 --- a/posix.mak +++ b/posix.mak @@ -30,7 +30,7 @@ endif # default include/link paths, override by setting DFLAGS (e.g. make -f posix.mak DFLAGS=-I/foo) DFLAGS = -I$(DRUNTIME_PATH)/import -I$(PHOBOS_PATH) \ -L-L$(PHOBOS_PATH)/generated/$(OS)/release/$(MODEL) $(MODEL_FLAG) -DFLAGS += -w +DFLAGS += -w -de TOOLS = \ $(ROOT)/rdmd \ From 4a256e80543e9960e45e6440bbb1964cbc90055a Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Mon, 3 Jul 2017 02:03:08 +0200 Subject: [PATCH 2/3] Fix implict string concatenation in dman.d --- dman.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dman.d b/dman.d index 4d12aaa023..3a015fc3de 100644 --- a/dman.d +++ b/dman.d @@ -142,7 +142,7 @@ string CHeader(string topic) static string[] dmccmds = [ "assert.h", "complex.h", "ctype.h", "fenv.h", - "float.h", "locale.h", "math.h", "setjmp.h," + "float.h", "locale.h", "math.h", "setjmp.h", "signal.h", "stdarg.h", "stddef.h", "stdio.h", "stdlib.h", "string.h", "time.h", "gc.h", "bios.h", "cerror.h", "disp.h", "dos.h", From 90ecf2524354b93c9799e407a2bbc522f6965fa4 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Mon, 3 Jul 2017 02:03:26 +0200 Subject: [PATCH 3/3] Build all + dman on Travis --- .travis.yml | 18 ++++++++++-------- posix.mak | 9 +-------- travis.sh | 1 + 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1d08a823c8..2cabdacf7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,16 @@ language: d d: - dmd sudo: false -addons: - apt: - packages: - - g++-multilib - - libcurl3-gnutls:i386 -env: - - MODEL=32 - - MODEL=64 + +matrix: + include: + - env: MODEL=64 + - env: MODEL=32 + addons: + apt: + packages: + - g++-multilib + - libcurl4-openssl-dev:i386 script: - ./travis.sh diff --git a/posix.mak b/posix.mak index b30581bb92..4fac949c96 100644 --- a/posix.mak +++ b/posix.mak @@ -61,14 +61,7 @@ dustmite: $(ROOT)/dustmite $(ROOT)/dustmite: DustMite/dustmite.d DustMite/splitter.d $(DMD) $(DFLAGS) DustMite/dustmite.d DustMite/splitter.d -of$(@) -#dreadful custom step because of libcurl dmd linking problem (Bugzilla 7044) -$(CURL_TOOLS): $(ROOT)/%: %.d - $(DMD) $(DFLAGS) -c -of$(@).o $(<) -# grep for the linker invocation and append -lcurl - LINKCMD=$$($(DMD) $(DFLAGS) -v -of$(@) $(@).o 2>/dev/null | grep $(@).o); \ - $${LINKCMD} -lcurl - -$(TOOLS) $(DOC_TOOLS): $(ROOT)/%: %.d +$(TOOLS) $(DOC_TOOLS) $(CURL_TOOLS): $(ROOT)/%: %.d $(DMD) $(DFLAGS) -of$(@) $(<) ALL_OF_PHOBOS_DRUNTIME_AND_DLANG_ORG = # ??? diff --git a/travis.sh b/travis.sh index 7d9ad5e253..40fce70d3e 100755 --- a/travis.sh +++ b/travis.sh @@ -44,4 +44,5 @@ dub --version test_rdmd +make -f posix.mak all DMD=$(which dmd) make -f posix.mak test DMD=$(which dmd)