add raxml-mpi

This commit is contained in:
starsareintherose 2021-08-26 23:46:04 +08:00
parent ff3df74782
commit d4549fb306
4 changed files with 82 additions and 0 deletions

43
raxml-mpi/PKGBUILD Normal file
View file

@ -0,0 +1,43 @@
# Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=raxml-mpi
pkgver=8.2.12
pkgrel=1
pkgdesc="Randomized Axelerated Maximum Likelihood"
arch=('x86_64')
url="http://sco.h-its.org/exelixis/web/software/raxml/"
license=('GPL3')
depends=('openmpi')
conflicts=(raxml)
provides=(raxml)
install='raxml.install'
source=("raxml-$pkgver.tar.gz::https://github.com/stamatak/standard-RAxML/archive/v$pkgver.tar.gz"
'raxml.install')
sha256sums=('338f81b52b54e16090e193daf36c1d4baa9b902705cfdc7f4497e3e09718533b'
'05283dec7f44c560590555b4f901e0c1ed422892471bddf651d90c94b41716ea')
build() {
cd standard-RAxML-$pkgver
for _f in Makefile*gcc ; do
rm -f *.o
make -f $_f || true
done
}
package() {
cd standard-RAxML-$pkgver
for _f in raxml* ; do
install -Dm755 $_f "$pkgdir"/usr/bin/$(basename $_f)
done
for _perlscript in usefulScripts/*.pl ; do
install -Dm755 $_perlscript "$pkgdir"/usr/bin/$(basename $_perlscript .pl)
done
for _shellscript in usefulScripts/*.sh ; do
install -Dm755 $_shellscript "$pkgdir"/usr/bin/$(basename $_shellscript .sh)
done
}

10
raxml-mpi/lilac.py Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

8
raxml-mpi/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: stamatak/standard-RAxML
use_latest_release: true

21
raxml-mpi/raxml.install Normal file
View file

@ -0,0 +1,21 @@
post_install() {
cat << EOF
raxml has installed all buildable executables, falling into categories
1. your hardware (AVX, AVX2, SSE)
2. parallel pthreads versions
3. coarse grained MPI versions
4. hybrid MPI/pthreads versions
if you either want (or need) an executable that is just called raxml,
create a symlink like this to your preferred variant:
ln -s /usr/bin/raxmlHPC-PTHREADS-AVX2 /usr/bin/raxml
EOF
}
post_upgrade() {
post_install
}