summaryrefslogtreecommitdiff
path: root/config_setup
diff options
context:
space:
mode:
Diffstat (limited to 'config_setup')
-rw-r--r--config_setup3
1 files changed, 3 insertions, 0 deletions
diff --git a/config_setup b/config_setup
new file mode 100644
index 0000000..c3a725d
--- /dev/null
+++ b/config_setup
@@ -0,0 +1,3 @@
+export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -re 's/.*gpgpu_sim.*(release|debug)://'`
+export GPGPUSIM_CONFIG=$1
+export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH