updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / osu-micro-benchmarks / PKGBUILD
blobce87f39437f6188ed3b6c22ae29156204a5ebc7f
1 # Maintainer: Jason St. John <jstjohn .. purdue . edu>
2 pkgname=osu-micro-benchmarks
3 pkgver=3.5
4 pkgrel=1
5 pkgdesc="A suite of micro-benchmarks for testing various MPI operations (with optional CUDA support)."
6 arch=('i686' 'x86_64')
7 url="http://mvapich.cse.ohio-state.edu/benchmarks/"
8 license=('BSD')
9 depends=('openmpi')
10 optdepends=('cuda-toolkit: optional makedepends that enables CUDA support in the benchmarks')
11 changelog=ChangeLog.osu-micro-benchmarks
12 source=("http://mvapich.cse.ohio-state.edu/benchmarks/$pkgname-$pkgver.tar.gz")
13 sha512sums=('9bdda8fe84ec806a0fa212a9cdeedafe22bf4d39ea1f238cd6574f03a96122d7cb4f45ead92419bb84715ecd59cf341bbbf967ebeb8dad636a7e9912ef032a39')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   ./configure --prefix=/usr
19   #
20   # For CUDA support, use the following switches during the 'configure' process.
21   # Read the documentation for more information regarding CUDA support.
22   #
23   #./configure --prefix=/usr --enable-cuda --with-cuda-include=/path/to/cuda/include --with-cuda-lib=/path/to/cuda/lib
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
30   make DESTDIR="$pkgdir/" install
33 # vim:set ts=2 sw=2 et: