diff options
| author | Tim Rogers <[email protected]> | 2011-07-07 09:35:02 -0800 |
|---|---|---|
| committer | Tim Rogers <[email protected]> | 2011-07-07 09:35:02 -0800 |
| commit | fdcbf444e041bee66a121b980559120f07f6fb15 (patch) | |
| tree | 778fcba257e52bfd5c083462c73c71e3c6190d99 /config_setup | |
| parent | 2c7786737f1b3137ff199df51c4813826e5f8381 (diff) | |
Integration change. Bringing in some changes from mem_divergence that allow for multiple configs of the built simulator to exist at one time. Now you no longer have to clean build when changing from debug to release configs it also eliminates the possibility of having a fraken-file where some objects are in debug and some are in release.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9743]
Diffstat (limited to 'config_setup')
| -rw-r--r-- | config_setup | 3 |
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 |
