Commit 0a1342aa authored by Dominik Charousset's avatar Dominik Charousset

Show benchmarks options only if submodule is loaded

parent 63349564
...@@ -14,6 +14,17 @@ use this configure script to access CMake equivalent functionality.\ ...@@ -14,6 +14,17 @@ use this configure script to access CMake equivalent functionality.\
command="$0 $*" command="$0 $*"
dirname_0=`dirname $0` dirname_0=`dirname $0`
sourcedir=`cd $dirname_0 && pwd` sourcedir=`cd $dirname_0 && pwd`
benchmark_suite_options=""
if [ -d "$sourcedir/benchmarks/caf" ] ; then
benchmark_suite_options="\
Benchmark Suite Options:
--with-scalac=FILE path to Scala compiler
--with-erlc=FILE path to Erlang compiler
--with-charmc=FILE path to Charm++ compiler
--with-salsa=FILE path to SALSA Lite jar
"
fi
usage="\ usage="\
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
...@@ -68,13 +79,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]... ...@@ -68,13 +79,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
Influential Environment Variables (only on first invocation): Influential Environment Variables (only on first invocation):
CXX C++ compiler command CXX C++ compiler command
CXXFLAGS C++ compiler flags CXXFLAGS C++ compiler flags
$benchmark_suite_options"
Benchmark Suite Options:
--with-scalac=FILE path to Scala compiler
--with-erlc=FILE path to Erlang compiler
--with-charmc=FILE path to Charm++ compiler
--with-salsa=FILE path to SALSA Lite jar
"
# Appends a CMake cache entry definition to the CMakeCacheEntries variable. # Appends a CMake cache entry definition to the CMakeCacheEntries variable.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment