summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2011-12-01 09:21:59 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:01 -0700
commiteb9370d0e0c192e95365cfee3408e2affe1bd3bb (patch)
treead92340df92c9921882cb99d1aaa05da117dc2b9 /setup_environment
parentc587d68644cc1e907166486debdf4bb0b1ff1276 (diff)
Adding a line to prevent path explosion
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11073]
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup_environment b/setup_environment
index 54c0280..5edd41c 100644
--- a/setup_environment
+++ b/setup_environment
@@ -41,6 +41,7 @@ fi
# static link setup in prior GPGPU-Sim releases.
export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -re 's/.*gpgpu_sim.*(release|debug)://'`
export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH
+export PATH=`echo $PATH | sed "s#$GPGPUSIM_ROOT/decuda/:$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:##"`
export PATH=$GPGPUSIM_ROOT/decuda/:$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH
# The following sets OPENCL_REMOTE_GPU_HOST which is used by GPGPU-Sim to