summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2012-07-27 08:48:33 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:53 -0700
commitf73d71935122aaef2e32e8c34f1004864d05c934 (patch)
treeaaeba1ba80fb63cafe01a2930310571ef1c337ee /setup_environment
parentf9eaa6b1c53586f277a51f29089ff96732c9a899 (diff)
also print out build number (perforce change list)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13556]
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment3
1 files changed, 2 insertions, 1 deletions
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.";