summaryrefslogtreecommitdiffstats
path: root/cluster/mpich/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/mpich/BUILD')
-rwxr-xr-xcluster/mpich/BUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/cluster/mpich/BUILD b/cluster/mpich/BUILD
new file mode 100755
index 0000000000..138f5cf790
--- /dev/null
+++ b/cluster/mpich/BUILD
@@ -0,0 +1,14 @@
+patch -p1 < ${SCRIPT_DIRECTORY}/sysconfdir.patch &&
+
+#
+# Fails to test rsh without this flag
+#
+if [ -x /usr/bin/rsh ]
+then
+ OPTS="$OPTS -rsh=/usr/bin/rsh"
+fi &&
+
+./configure --prefix=/usr \
+ --sysconfdir=/etc/mpich \
+ ${OPTS} &&
+make