summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f9b35aebc345b89dca7aa28ea2720776f60c13ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Christian Bartz <christianbartz [ätt] gmail [döt] com>
pkgname='pyxis'
pkgver='0.13.0'
pkgrel='1'
pkgdesc='Container plugin for the Slurm Workload Manager'
arch=(x86_64)
url='https://github.com/NVIDIA/pyxis'
license=(Apache)
depends=(enroot slurm-llnl)
makedepends=(git gcc make libtool)
source=("https://github.com/NVIDIA/pyxis/archive/refs/tags/v${pkgver}.zip")
sha256sums=('09ceb63c5d57cdd87c13bac4ca69823007e4f4f0249bff1fca7af91b61fc466b')
install='pyxis.install'

build() {
    cd "pyxis-${pkgver}"
    CPPFLAGS="-DALLOW_SPECULATION -DINHERIT_FDS" make prefix='' exec_prefix=/usr datarootdir=/usr/share
}

package() {
    cd "pyxis-${pkgver}"
    DESTDIR="$pkgdir/" make install prefix='/usr' exec_prefix=/usr 
}