diff --git a/benchmarks/dis/gen.sh b/benchmarks/dis/gen.sh index d34947aa81117e225ef894eaa768552ea2767a31..e09f2c4c7bf79f6e38e9ee09bdd0deacf3124177 100644 --- a/benchmarks/dis/gen.sh +++ b/benchmarks/dis/gen.sh @@ -10,7 +10,7 @@ echo "Running the DIS benchmarks" ## make sure we launch this script from the project root directory -PROJECT_ROOT="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"/.. +PROJECT_ROOT="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"/../.. pushd ${PROJECT_ROOT} ## ============================================================================= @@ -35,8 +35,8 @@ JUGGLER_FILE_NAME_TAG="dis" ## ============================================================================= ## Step 1: Dummy event generator ## TODO better file name that encodes the actual configuration we're running -echo "Compiling benchmarks/dis/generator/pythia_dis.cc ..." -g++ benchmarks/dis/generator/pythia_dis.cc -o pythia_dis \ +echo "Compiling benchmarks/dis/generator/pythia_dis.cxx ..." +g++ benchmarks/dis/generator/pythia_dis.cxx -o pythia_dis \ -I/usr/local/include -Iinclude \ -O2 -std=c++11 -pedantic -W -Wall -Wshadow -fPIC \ -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpythia8 -ldl \ diff --git a/benchmarks/dis/generator/pythia_dis.cc b/benchmarks/dis/generator/pythia_dis.cxx similarity index 100% rename from benchmarks/dis/generator/pythia_dis.cc rename to benchmarks/dis/generator/pythia_dis.cxx