diff options
author | Eric Sandall | 2006-06-29 13:53:26 -0700 |
---|---|---|
committer | Eric Sandall | 2006-06-29 13:53:26 -0700 |
commit | 1c2cfc90da997072e83fdf0cb69a951b9375fb17 (patch) | |
tree | 30e6376111bd09c6ac90a63f09e73ba71a02c6c3 /cluster/netpipe | |
parent | 78a207ac913c0d46819541b61afd1bc73a5283f8 (diff) |
Converted netpipe to build_api 2
Diffstat (limited to 'cluster/netpipe')
-rwxr-xr-x | cluster/netpipe/BUILD | 27 | ||||
-rwxr-xr-x | cluster/netpipe/DETAILS | 5 | ||||
-rw-r--r-- | cluster/netpipe/HISTORY | 8 | ||||
-rwxr-xr-x | cluster/netpipe/INSTALL | 12 | ||||
-rwxr-xr-x | cluster/netpipe/PRE_BUILD | 7 |
5 files changed, 35 insertions, 24 deletions
diff --git a/cluster/netpipe/BUILD b/cluster/netpipe/BUILD index 8f66a69e06..8256aee304 100755 --- a/cluster/netpipe/BUILD +++ b/cluster/netpipe/BUILD @@ -1,22 +1,9 @@ -( - prepare_install && - make tcp && - install -m 755 NPtcp ${INSTALL_ROOT}/usr/bin && - mkdir -p ${INSTALL_ROOT}/usr/share/doc/$SPELL/ && - install -m 0644 dox/netpipe_paper.ps ${INSTALL_ROOT}/usr/share/doc/$SPELL/netpipe_paper.ps - if spell_ok mpich - then - sedit "s/MPI_ARCH =.*$/MPI_ARCH =LINUX/" makefile - sedit "s/-lmpi/-lmpich/" makefile - make mpi && - install -m 755 NPmpi ${INSTALL_ROOT}/usr/bin - fi - - if spell_ok pvm - then - make pvm && - install -m 755 NPpvm ${INSTALL_ROOT}/usr/bin - fi +make tcp && -) > $C_FIFO 2>&1 +if spell_ok mpich; then + make mpi +fi && +if spell_ok pvm; then + make pvm +fi diff --git a/cluster/netpipe/DETAILS b/cluster/netpipe/DETAILS index 81f7899c42..5421704978 100755 --- a/cluster/netpipe/DETAILS +++ b/cluster/netpipe/DETAILS @@ -4,12 +4,9 @@ SOURCE_HASH=sha512:cd507e5c9cf95301cfd52afdfdc8407530ea0fc7b7d81902a8b5ec2a2042b6293d7b0b70a0f606208db741f6dace9648f1673c2d6819e1f85d48637c9cbe8a4a SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SOURCE/\.tar.gz/} SOURCE_URL[0]=http://www.scl.ameslab.gov/Projects/NetPIPE/code/$SOURCE + LICENSE[0]=GPL WEB_SITE=http://www.scl.ameslab.gov/Projects/NetPIPE/ ENTERED=20020606 - UPDATED=20020606 - MAINTAINER=zoran@idi.ntnu.no - LICENSE=GPL - BUILD_API=1 SHORT="network performance tool" cat << EOF NetPIPE is a protocol independent performance tool that encapsulates diff --git a/cluster/netpipe/HISTORY b/cluster/netpipe/HISTORY index af886a41c1..aabf39c37b 100644 --- a/cluster/netpipe/HISTORY +++ b/cluster/netpipe/HISTORY @@ -1,3 +1,11 @@ +2006-06-29 Eric Sandall <eric@sandall.us> + * DETAILS: Removed BUILD_API=1, MAINTAINER, and UPDATED + Changed LICENSE to LICENSE[0] + * PRE_BUILD: Apply sedits as needed + * BUILD: Converted to build_api 2 + * INSTALL: Copied from BUILD + Converted to build_api 2 + 2006-06-12 Arwed v. Merkatz <v.merkatz@gmx.net> * DETAILS: inserted BUILD_API=1 line diff --git a/cluster/netpipe/INSTALL b/cluster/netpipe/INSTALL new file mode 100755 index 0000000000..a9c989b2cc --- /dev/null +++ b/cluster/netpipe/INSTALL @@ -0,0 +1,12 @@ +install -m 755 NPtcp ${INSTALL_ROOT}/usr/bin && +mkdir -p ${INSTALL_ROOT}/usr/share/doc/$SPELL/ && +install -m 0644 dox/netpipe_paper.ps \ + ${INSTALL_ROOT}/usr/share/doc/$SPELL/netpipe_paper.ps && + +if spell_ok mpich; then + install -m 755 NPmpi ${INSTALL_ROOT}/usr/bin +fi && + +if spell_ok pvm; then + install -m 755 NPpvm ${INSTALL_ROOT}/usr/bin +fi diff --git a/cluster/netpipe/PRE_BUILD b/cluster/netpipe/PRE_BUILD new file mode 100755 index 0000000000..404aa6bc22 --- /dev/null +++ b/cluster/netpipe/PRE_BUILD @@ -0,0 +1,7 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && + +if spell_ok mpich; then + sedit "s/MPI_ARCH =.*$/MPI_ARCH =LINUX/" makefile + sedit "s/-lmpi/-lmpich/" makefile +fi |