Browse Source

Missing cabal configure command for snap

Patrick Falls 12 years ago
parent
commit
ef0b627af9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      snap/setup.py

+ 1 - 0
snap/setup.py

@@ -7,6 +7,7 @@ def start(args):
   setup_util.replace_text("snap/bench/cfg/db.cfg", "host=\".*\"", "host=\"" + args.database_host + "\"")
   subprocess.check_call("cabal update", shell=True, cwd="snap/bench")
   subprocess.check_call("cabal install --only-dependencies", shell=True, cwd="snap/bench")
+  subprocess.check_call("cabal configure", shell=True, cwd="snap/bench")
   subprocess.check_call("cabal build", shell=True, cwd="snap/bench")
 
   subprocess.Popen("dist/build/snap-bench/snap-bench +RTS -A4M -N -qg2 -I0 -G2 > /dev/null", shell=True, cwd="snap/bench")