From f73d71935122aaef2e32e8c34f1004864d05c934 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Fri, 27 Jul 2012 08:48:33 -0800 Subject: also print out build number (perforce change list) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13556] --- setup_environment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setup_environment') diff --git a/setup_environment b/setup_environment index 094e427..f20118e 100644 --- a/setup_environment +++ b/setup_environment @@ -4,7 +4,8 @@ export GPGPUSIM_SETUP_ENVIRONMENT_WAS_RUN= export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )" GPGPUSIM_VERSION_STRING=`cat $GPGPUSIM_ROOT/version | awk '/Version/ {print $8}'` -echo "GPGPU-Sim version $GPGPUSIM_VERSION_STRING"; +GPGPUSIM_BUILD_STRING=`cat $GPGPUSIM_ROOT/version | awk '/Change/ {print $6}'` +echo "GPGPU-Sim version $GPGPUSIM_VERSION_STRING (build $GPGPUSIM_BUILD_STRING)"; if [ ! -n "$CUDA_INSTALL_PATH" ]; then echo "ERROR ** Install CUDA Toolkit and set CUDA_INSTALL_PATH."; -- cgit v1.3