|
@@ -5,8 +5,8 @@ import os
|
|
|
|
|
|
def start(args):
|
|
|
setup_util.replace_text("snap/bench/cfg/db.cfg", "host=\".*\"", "host=\"" + args.database_host + "\"")
|
|
|
- subprocess.check_call("cabal configure", shell=True, cwd="snap/bench")
|
|
|
- subprocess.check_call("cabal build", shell=True, cwd="snap/bench")
|
|
|
+ subprocess.check_call("cabal update", shell=True, cwd="snap/bench")
|
|
|
+ subprocess.check_call("cabal install", shell=True, cwd="snap/bench")
|
|
|
|
|
|
t = str(args.max_threads)
|
|
|
subprocess.Popen("dist/build/snap-bench/snap-bench +RTS -A" + t + "M -N" + t + " > /dev/null", shell=True, cwd="snap/bench")
|