Skip to content

Commit

Permalink
Merge pull request #1478 from LadyMozzarella/lgratrix-remove-bash-pro…
Browse files Browse the repository at this point in the history
…file

Toolset: Remove bash_profile.sh
  • Loading branch information
hamiltont committed Apr 4, 2015
2 parents ce09e84 + 8f6f322 commit 97a0934
Show file tree
Hide file tree
Showing 242 changed files with 612 additions and 665 deletions.
16 changes: 0 additions & 16 deletions frameworks/C++/ULib/bash_profile.sh

This file was deleted.

4 changes: 4 additions & 0 deletions frameworks/C++/ULib/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

export ULIB_VERSION=1.4.2
export ULIB_ROOT=$IROOT/ULib
export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT

export UMEMPOOL="136,0,0,85,1160,155,-17,-22,40"

# 1. Change ULib Server configuration
Expand Down
4 changes: 4 additions & 0 deletions frameworks/C++/ULib/setup_mysql.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

export ULIB_VERSION=1.4.2
export ULIB_ROOT=$IROOT/ULib
export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT

export ORM_DRIVER="mysql"
export ORM_OPTION="host=${DBHOST} user=benchmarkdbuser password=benchmarkdbpass character-set=utf8 dbname=hello_world"

Expand Down
4 changes: 4 additions & 0 deletions frameworks/C++/ULib/setup_sqlite.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

export ULIB_VERSION=1.4.2
export ULIB_ROOT=$IROOT/ULib
export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT

export ORM_DRIVER="sqlite"
export ORM_OPTION="host=${DBHOST} user=benchmarkdbuser password=benchmarkdbpass character-set=utf8 dbname=${ULIB_ROOT}/db/%.*s"

Expand Down
3 changes: 0 additions & 3 deletions frameworks/C++/cpoll_cppsp/bash_profile.sh

This file was deleted.

1 change: 1 addition & 0 deletions frameworks/C++/cpoll_cppsp/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
export CPPSP_HOME=$IROOT/cppsp_0.2.3

sed -i 's|#define BENCHMARK_DB_HOST ".*"|#define BENCHMARK_DB_HOST "'"$DBHOST"'"|g' www/connectioninfo.H

Expand Down
11 changes: 0 additions & 11 deletions frameworks/C++/wt/bash_profile.sh

This file was deleted.

10 changes: 10 additions & 0 deletions frameworks/C++/wt/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#!/bin/bash

export BOOST_ROOT=/usr/local
export BOOST_INC=${BOOST_ROOT}/include
export BOOST_LIB=${BOOST_ROOT}/lib

export WT_ROOT=${IROOT}/wt
export WT_LIB=${WT_ROOT}/lib
export WT_INC=${WT_ROOT}/include

export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"

fw_depends apache wt
7 changes: 7 additions & 0 deletions frameworks/C++/wt/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash
export BOOST_ROOT=/usr/local
export BOOST_INC=${BOOST_ROOT}/include
export BOOST_LIB=${BOOST_ROOT}/lib

export WT_ROOT=${IROOT}/wt
export WT_LIB=${WT_ROOT}/lib
export WT_INC=${WT_ROOT}/include

# This has to be included here since it is one of the vars NOT copied from the original environment
export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
Expand Down
8 changes: 8 additions & 0 deletions frameworks/C++/wt/setup_postgres.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash
export BOOST_ROOT=/usr/local
export BOOST_INC=${BOOST_ROOT}/include
export BOOST_LIB=${BOOST_ROOT}/lib

export WT_ROOT=${IROOT}/wt
export WT_LIB=${WT_ROOT}/lib
export WT_INC=${WT_ROOT}/include

# This has to be included here since it is one of the vars NOT copied from the original environment
export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
export CPLUS_INCLUDE_PATH=/usr/include/postgresql:/usr/include/postgresql/9.3/server:$CPLUS_INCLUDE_PATH

sed -i 's|INSERT_DB_HOST_HERE|'"${DBHOST}"'|g' benchmark.cpp

Expand Down
3 changes: 0 additions & 3 deletions frameworks/C/duda/bash_profile.sh

This file was deleted.

1 change: 1 addition & 0 deletions frameworks/C/duda/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

export DUDA_HOME=${IROOT}/dudac-0.23
export PATH=${DUDA_HOME}:$PATH

dudac -w $TROOT/webservice -p 2001 &
5 changes: 0 additions & 5 deletions frameworks/Clojure/compojure/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Clojure/compojure/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
export RESIN_HOME=${IROOT}/resin-4.0.41
export LEIN_HOME=$IROOT/lein

# Path vars must be set here
export PATH="$JAVA_HOME/bin:$PATH"
Expand Down
5 changes: 0 additions & 5 deletions frameworks/Clojure/http-kit/bash_profile.sh

This file was deleted.

2 changes: 2 additions & 0 deletions frameworks/Clojure/http-kit/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
export LEIN_HOME=$IROOT/lein

cd hello
$LEIN_HOME/bin/lein clean
Expand Down
2 changes: 0 additions & 2 deletions frameworks/Clojure/luminus/bash_profile.sh

This file was deleted.

2 changes: 2 additions & 0 deletions frameworks/Clojure/luminus/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
export RESIN_HOME=${IROOT}/resin-4.0.41

# Path vars must be set here
export PATH="$JAVA_HOME/bin:$PATH"
Expand Down
5 changes: 0 additions & 5 deletions frameworks/Dart/dart-redstone/bash_profile.sh

This file was deleted.

2 changes: 2 additions & 0 deletions frameworks/Dart/dart-redstone/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
export DART_HOME=$IROOT/dart-sdk
export PUB_CACHE=$IROOT/.pubcache

sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml
Expand Down
7 changes: 0 additions & 7 deletions frameworks/Dart/dart-start/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Dart/dart-start/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
export DART_HOME=$IROOT/dart-sdk
export PUB_CACHE=$IROOT/.pubcache
export NGINX_HOME=$IROOT/nginx

sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml
Expand Down
7 changes: 0 additions & 7 deletions frameworks/Dart/dart-stream/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Dart/dart-stream/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
export DART_HOME=$IROOT/dart-sdk
export PUB_CACHE=$IROOT/.pubcache
export NGINX_HOME=$IROOT/nginx

sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml
Expand Down
5 changes: 0 additions & 5 deletions frameworks/Dart/dart/bash_profile.sh

This file was deleted.

6 changes: 5 additions & 1 deletion frameworks/Dart/dart/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml

export DART_HOME=$IROOT/dart-sdk

export PUB_CACHE=$IROOT/.pubcache

$DART_HOME/bin/pub upgrade

$DART_HOME/bin/dart server.dart -a 0.0.0.0 -p 8080 -d ${MAX_THREADS} -i ${MAX_THREADS} &
$DART_HOME/bin/dart server.dart -a 0.0.0.0 -p 8080 -d ${MAX_THREADS} -i ${MAX_THREADS} &
3 changes: 0 additions & 3 deletions frameworks/Erlang/cowboy/bash_profile.sh

This file was deleted.

1 change: 1 addition & 0 deletions frameworks/Erlang/cowboy/setup_erlang.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
export REBAR_HOME=$IROOT/rebar

sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/hello_world_app.erl

Expand Down
3 changes: 0 additions & 3 deletions frameworks/Erlang/elli/bash_profile.sh

This file was deleted.

1 change: 1 addition & 0 deletions frameworks/Erlang/elli/setup_erlang.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
export REBAR_HOME=$IROOT/rebar

sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/elli_bench_sup.erl

Expand Down
6 changes: 0 additions & 6 deletions frameworks/Go/beego/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/beego/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go

Expand Down
6 changes: 0 additions & 6 deletions frameworks/Go/falcore/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/falcore/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/framework_benchmarks/falcore.go

Expand Down
6 changes: 0 additions & 6 deletions frameworks/Go/gin/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/gin/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

# Where to find the go executable
export PATH="$GOROOT/bin:$PATH"
Expand Down
4 changes: 0 additions & 4 deletions frameworks/Go/go/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/go/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go

Expand Down
6 changes: 0 additions & 6 deletions frameworks/Go/revel-jet/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/revel-jet/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf

Expand Down
4 changes: 0 additions & 4 deletions frameworks/Go/revel-qbs/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/revel-qbs/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf

Expand Down
4 changes: 0 additions & 4 deletions frameworks/Go/revel/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/revel/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf

Expand Down
6 changes: 0 additions & 6 deletions frameworks/Go/webgo/bash_profile.sh

This file was deleted.

3 changes: 3 additions & 0 deletions frameworks/Go/webgo/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Set the root of our go installation
export GOROOT=${IROOT}/go
export GOPATH=${TROOT}

# Where to find the go executable
export PATH="$GOROOT/bin:$PATH"
Expand Down
6 changes: 3 additions & 3 deletions frameworks/Groovy/grails/setup.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash

export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
export RESIN_HOME=${IROOT}/resin-4.0.41

export GRAILS_PATH=${IROOT}/grails-2.4.4/bin/

sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' hello/grails-app/conf/DataSource.groovy

export PATH=${GRAILS_PATH}:$PATH
export GRAILS_AGENT_CACHE_DIR=${IROOT}/.grails/.slcache

sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' hello/grails-app/conf/DataSource.groovy

cd hello
grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output refresh-dependencies
grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output compile
Expand Down
5 changes: 0 additions & 5 deletions frameworks/Haskell/snap/bash_profile.sh

This file was deleted.

Loading

0 comments on commit 97a0934

Please sign in to comment.