Added a simple script to allow users to switch between different builds
authorChee Wai Lee <cheelee@illinois.edu>
Tue, 14 Oct 2003 02:27:24 +0000 (02:27 +0000)
committerChee Wai Lee <cheelee@illinois.edu>
Tue, 14 Oct 2003 02:27:24 +0000 (02:27 +0000)
of charm++.

README.relink [new file with mode: 0644]
relink.script [new file with mode: 0755]

diff --git a/README.relink b/README.relink
new file mode 100644 (file)
index 0000000..d763bab
--- /dev/null
@@ -0,0 +1,17 @@
+
+README : relink.script
+10/13/2003 by Chee Wai Lee
+--------------------------
+
+The essential directories for the proper functioning of charm++ is
+usually linked to the latest build version. For the convenience of
+users wishing to alternate between different builds of charm++,
+a simple script has been provided.
+
+Usage: relink.script <build-version-name-string>
+
+Example: relink.script net-linux-smp.
+
+WARNING: This script performs no error checking. Please ensure that
+<build-version-name-string> is correct before proceeding with the relink.
+
diff --git a/relink.script b/relink.script
new file mode 100755 (executable)
index 0000000..f3f2c65
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+rm -f bin include lib lib_so tmp
+
+ln -s $1/bin bin
+ln -s $1/include include
+ln -s $1/lib lib
+ln -s $1/lib_so lib_so
+ln -s $1/tmp tmp