summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88d05e97473c692e7b56544d679d0cf8fa7b6604 (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
pkgbase=examl
pkgname=('examl' 'examl-mpi')
_pkgname=ExaML
pkgver=3.0.22
pkgrel=3
arch=('x86_64')
url="https://github.com/stamatak/ExaML"
makedepends=('make' 'gcc' 'openmpi')
license=('GPL')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
md5sums=('ad62d8c333cee316732c10f719c1e87c')

build() {
  cd "${_pkgname}-$pkgver"
  cd $pkgname
  make -f Makefile.AVX.gcc examl-AVX
  make -f Makefile.OMP.AVX.gcc  examl-OMP-AVX
}

package_examl() {
pkgdesc="Exascale Maximum Likelihood https://doi.org/10.1093/bioinformatics/btv184"
depends=('gcc-libs')

  cd "${_pkgname}-$pkgver"
  cd $pkgbase
  install -Dm 755 $pkgbase-AVX $pkgdir/usr/bin/$pkgname
}

package_examl-mpi(){
pkgdesc="Exascale Maximum Likelihood https://doi.org/10.1093/bioinformatics/btv184"
depends=('gcc-libs' 'openmpi')

  cd "${_pkgname}-$pkgver"
  cd $pkgbase
  install -Dm 755 $pkgbase-OMP-AVX $pkgdir/usr/bin/$pkgname
}