summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_environment6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_environment b/setup_environment
index c776fde..094e427 100644
--- a/setup_environment
+++ b/setup_environment
@@ -1,9 +1,9 @@
# see README before running this
export GPGPUSIM_SETUP_ENVIRONMENT_WAS_RUN=
-THIS_DIR="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )"
+export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )"
-GPGPUSIM_VERSION_STRING=`cat $THIS_DIR/version | awk '/Version/ {print $8}'`
+GPGPUSIM_VERSION_STRING=`cat $GPGPUSIM_ROOT/version | awk '/Version/ {print $8}'`
echo "GPGPU-Sim version $GPGPUSIM_VERSION_STRING";
if [ ! -n "$CUDA_INSTALL_PATH" ]; then
@@ -29,7 +29,7 @@ else
export GPGPUSIM_CONFIG=release
fi
-export GPGPUSIM_ROOT=$THIS_DIR
+
export QTINC=/usr/include