@@ -71,11 +71,11 @@ list_comparisons () {
7171# chart is expensive to build and usually not required to be rebuilt,
7272# use master branch as fallback
7373cabal_which_report() {
74− local path=$(cabal_which streamly-benchmarks x $1)
74+ local path=$(cabal_which bench-report x $1)
7575 if test -z "$path"
7676 then
7777 echo "Cannot find $1 executable, trying in dist-newstyle" 1>&2
78− local path1=$(cabal_which_builddir dist-newstyle streamly-benchmarks x $1)
78+ local path1=$(cabal_which_builddir dist-newstyle bench-report x $1)
7979 if test -z "$path1"
8080 then
8181 local path2="./bin/$1"
@@ -93,7 +93,7 @@ cabal_which_report() {
9393}
9494
9595find_report_prog() {
96− local prog_name="chart"
96+ local prog_name="bench-report"
9797 hash -r
9898 local prog_path=$(cabal_which_report $prog_name)
9999 if test -x "$prog_path"
@@ -105,16 +105,16 @@ find_report_prog() {
105105}
106106
107107build_report_prog() {
108− local prog_name="chart"
108+ local prog_name="bench-report"
109109 local prog_path=$(cabal_which_report $prog_name)
110110
111111 hash -r
112112 if test ! -x "$prog_path" -a "$BUILD_ONCE" = "0"
113113 then
114− echo "Building bench-show executables"
114+ echo "Building bench-report executables"
115115 BUILD_ONCE=1
116− $CABAL_EXECUTABLE v2-build --flags dev chart \
117− || die "bench-show build failed"
116+ $CABAL_EXECUTABLE v2-build bench-report --project-file=benchmark/bench-report/cabal.project \
117+ || die "bench-report build failed"
118118
119119 elif test ! -x "$prog_path"
120120 then
@@ -129,8 +129,8 @@ build_report_progs() {
129129 build_report_prog || exit 1
130130 local prog
131131 prog=$(find_report_prog) || \
132− die "Cannot find bench-show executable"
133− echo "Using bench-show executable [$prog]"
132+ die "Cannot find bench-report executable"
133+ echo "Using bench-report executable [$prog]"
134134 fi
135135}
136136