summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44beed26daa9e05fc39b09b4c8a07092db15062a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Jonas Gro├če Sundrup <aur@letopolis.de>

# set the number of CPUs for building
# defaults to 1, the make default
_buildcpus=1

pkgname=python-bohrium
_pkgname=bohrium
pkgver=0.9.1
pkgrel=1
pkgdesc="Automatic parallelization of Python/NumPy, C, and C++ codes on Linux and MacOSX"
depends=(python openmp boost python-numpy zlib cython cblas lapacke swig)
makedepends=(cmake)
license=('LGPL3')
arch=(x86_64)
source=("https://github.com/bh107/bohrium/archive/v0.9.1.tar.gz")
sha256sums=('a8675db35ea4587ef12d5885a1aa19b59fd9c3f1366e239059de8b0f3cf51e04')

build() {
	cd $srcdir/${_pkgname}-${pkgver}
	mkdir build
	cd build
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DEXT_VISUALIZER=OFF
	make -j ${_buildcpus}
}

package() {
	cd $srcdir/${_pkgname}-${pkgver}
	cd build
	make install DESTDIR=$pkgdir
}