diff options
Diffstat (limited to 'bench/btl/data')
-rw-r--r-- | bench/btl/data/CMakeLists.txt | 14 | ||||
-rwxr-xr-x | bench/btl/data/go_mean | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/bench/btl/data/CMakeLists.txt b/bench/btl/data/CMakeLists.txt index 6af2a366f..580c1ced0 100644 --- a/bench/btl/data/CMakeLists.txt +++ b/bench/btl/data/CMakeLists.txt @@ -1,25 +1,25 @@ -ADD_CUSTOM_TARGET(copy_scripts) +add_custom_target(copy_scripts) -SET(script_files go_mean mk_mean_script.sh mk_new_gnuplot.sh +set(script_files go_mean mk_mean_script.sh mk_new_gnuplot.sh perlib_plot_settings.txt action_settings.txt gnuplot_common_settings.hh ) -FOREACH(script_file ${script_files}) -ADD_CUSTOM_COMMAND( +foreach(script_file ${script_files}) +add_custom_command( TARGET copy_scripts POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/${script_file} ${CMAKE_CURRENT_BINARY_DIR}/ ARGS ) -ENDFOREACH(script_file) +endforeach(script_file) -ADD_CUSTOM_COMMAND( +add_custom_command( TARGET copy_scripts POST_BUILD COMMAND ${CMAKE_CXX_COMPILER} --version | head -n 1 > ${CMAKE_CURRENT_BINARY_DIR}/compiler_version.txt ARGS ) -ADD_CUSTOM_COMMAND( +add_custom_command( TARGET copy_scripts POST_BUILD COMMAND echo "${Eigen_SOURCE_DIR}" > ${CMAKE_CURRENT_BINARY_DIR}/eigen_root_dir.txt diff --git a/bench/btl/data/go_mean b/bench/btl/data/go_mean index 42338ca27..d01426909 100755 --- a/bench/btl/data/go_mean +++ b/bench/btl/data/go_mean @@ -27,7 +27,7 @@ echo '<ul>'\ '<li>' `cat /proc/cpuinfo | grep "model name" | head -n 1`\ ' (' `uname -m` ')</li>'\ '<li> compiler: ' `cat compiler_version.txt` '</li>'\ - '<li> eigen3: ' `hg identify -i $EIGENDIR` '</li>'\ + '<li> eigen3: ' `git ls-remote --refs -q $EIGENDIR HEAD | cut -f 1` '</li>'\ '</ul>' \ '</p>' >> $webpagefilename |