blob: 49dc636b67c3407bac3654c205f47abb89ac911e (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Maintainer:
# Contributor: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Paulo Castro <p dot oliveira dot castro at gmail dot com>
pkgname=nest
pkgver=3.8
pkgrel=1
pkgdesc="Simulator for spiking neural network models"
arch=('x86_64')
url="https://www.nest-simulator.org/"
license=('GPL-2.0-or-later')
depends=('bash'
'cblas'
'gcc-libs'
'glibc'
'gsl'
'hdf5'
'ipython'
'libaec'
'libtool'
'ncurses'
'openmpi'
'python'
'python-docopt'
'python-flask'
'python-flask-cors'
'python-h5py'
'python-matplotlib'
'python-mpi4py'
'python-numpy'
'python-pandas'
'python-pydot'
'python-scipy'
'python-werkzeug'
'readline'
'zlib')
makedepends=('boost' 'cmake' 'cython')
options=('!docs')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nest/nest-simulator/archive/v${pkgver}.tar.gz")
sha256sums=('eb255f8828be001abea0cddad2f14d78b70857fc82bece724551f27c698318c8')
build() {
cmake -B build -S "${pkgname}-simulator-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-Dwith-boost=ON \
-Dwith-gsl=ON \
-Dwith-hdf5=ON \
-Dwith-mpi=ON \
-Dwith-python=ON \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
rm -r "${pkgdir}/usr/bin/run_all_cpptests"
rm -r "${pkgdir}/usr/share/nest/testsuite"
}
|