Browse Source

Update of dlang and vibe-d framework (#2648)

Tomáš Chaloupka 8 years ago
parent
commit
9674a38e7c

+ 1 - 1
frameworks/D/vibed/README.md

@@ -12,7 +12,7 @@ This is the Vibe.D portion of a [benchmarking test suite](../) comparing a varie
 
 ## Infrastructure Software Versions
 The tests were run with:
-* [Vibe.D v0.7.29](http://vibed.org/)
+* [Vibe.D v0.8.0-beta.5](http://vibed.org/)
 
 ## Test URLs
 ### JSON Encoding Test

+ 5 - 2
frameworks/D/vibed/dub.json

@@ -3,11 +3,14 @@
   "description": "A simple vibe.d server application.",
   "copyright": "Copyright © 2015, jin",
   "authors": ["jin", "Sönke Ludwig"],
-  "dependencies": { "vibe-d": "~>0.7.28" },
+  "dependencies": {
+    "vibe-d": "~>0.8.0-beta",
+    "vibe-core": "~>1.0.0-beta"
+  },
   "versions": ["VibeDefaultMain"],
   "targetType": "executable",
   "sourcePaths": [],
-  
+  "subConfigurations": {"vibe-d": "vibe-core"},
   "configurations": [
   	{
   		"name": "mongodb",

+ 9 - 5
frameworks/D/vibed/dub.selections.json

@@ -1,10 +1,14 @@
 {
 	"fileVersion": 1,
 	"versions": {
-		"libasync": "0.7.9",
-		"libevent": "2.0.1+2.0.16",
-		"memutils": "0.4.6",
-		"openssl": "1.1.4+1.0.1g",
-		"vibe-d": "0.7.29"
+		"diet-ng": "1.2.0",
+		"eventcore": "0.8.10",
+		"libasync": "0.8.3",
+		"libevent": "2.0.2+2.0.16",
+		"memutils": "0.4.9",
+		"openssl": "1.1.5+1.0.1g",
+		"taggedalgebraic": "0.10.5",
+		"vibe-core": "1.0.0-beta.5",
+		"vibe-d": "0.8.0-beta.5"
 	}
 }

+ 4 - 2
frameworks/D/vibed/setup.sh

@@ -1,11 +1,13 @@
 #!/bin/bash
 
-fw_depends mongodb dlang dub
+fw_depends mongodb dlang
 
 # Clean any files from last run
 rm -f fwb
 rm -rf .dub
 
-dub build -b release
+dub upgrade
+
+dub build -b release --combined
 
 ./fwb &

+ 2 - 2
frameworks/D/vibed/setup_ldc.sh

@@ -1,11 +1,11 @@
 #!/bin/bash
 
-fw_depends mongodb dlang dub
+fw_depends mongodb dlang
 
 # Clean any files from last run
 rm -f fwb
 rm -rf .dub
 
-dub build -b release --compiler=ldc2
+dub build -b release --compiler=ldc2 --combined
 
 ./fwb &

+ 0 - 1
frameworks/D/vibed/source/mongodb.d

@@ -17,7 +17,6 @@ shared static this()
 	router.rebuild();
 
 	auto settings = new HTTPServerSettings;
-	settings.bindAddresses = ["0.0.0.0"];
 	settings.options |= HTTPServerOption.distribute;
 	settings.port = 8080;
 	listenHTTP(settings, router);

+ 2 - 2
toolset/setup/linux/languages/dlang.sh

@@ -5,8 +5,8 @@ fw_depends xdg-utils
 fw_installed dlang && return 0
 
 DLANG=$IROOT/dlang
-DMDVER="2.071.1"
-LDCVER="1.0.0"
+DMDVER="2.073.2"
+LDCVER="1.1.1"
 
 mkdir -p $DLANG
 fw_get -O http://downloads.dlang.org/releases/2.x/$DMDVER/dmd_$DMDVER-0_amd64.deb

+ 0 - 12
toolset/setup/linux/systools/dub.sh

@@ -1,12 +0,0 @@
-#!/bin/bash
-
-fw_installed dub && return 0
-
-mkdir dub
-cd dub
-fw_get -O http://code.dlang.org/files/dub-1.0.0-linux-x86_64.tar.gz
-fw_untar dub-1.0.0-linux-x86_64.tar.gz
-
-echo -e "export PATH=${IROOT}/dub:\$PATH" > $IROOT/dub.installed
-
-source $IROOT/dub.installed