diff options
author | Paul Spencer <32964672+pwablito@users.noreply.github.com> | 2021-09-30 18:07:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 00:07:03 +0000 |
commit | 046ed47b1f3c832570476ea16538a4e27e546ea7 (patch) | |
tree | dbd22effbe8b5c74df1c40573f35082c4f2813f4 | |
parent | c076aeb19271d90694013ae46ea4a432a113b29a (diff) | |
download | spack-046ed47b1f3c832570476ea16538a4e27e546ea7.tar.gz spack-046ed47b1f3c832570476ea16538a4e27e546ea7.tar.bz2 spack-046ed47b1f3c832570476ea16538a4e27e546ea7.tar.xz spack-046ed47b1f3c832570476ea16538a4e27e546ea7.zip |
New package: slurm-drmaa (#25424)
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/slurm-drmaa/package.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/slurm-drmaa/package.py b/var/spack/repos/builtin/packages/slurm-drmaa/package.py new file mode 100644 index 0000000000..b0a69c64bb --- /dev/null +++ b/var/spack/repos/builtin/packages/slurm-drmaa/package.py @@ -0,0 +1,42 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class SlurmDrmaa(AutotoolsPackage): + ''' + DRMAA for Slurm is an implementation of Open Grid Forum DRMAA 1.0 (Distributed + Resource Management Application API) specification for submission and control of + jobs to SLURM. Using DRMAA, grid applications builders, portal developers and + ISVs can use the same high-level API to link their software with different + cluster/resource management systems. + ''' + homepage = "https://github.com/natefoo/slurm-drmaa" + url = "https://github.com/natefoo/slurm-drmaa/releases/download/1.1.2/slurm-drmaa-1.1.2.tar.gz" + git = 'https://github.com/natefoo/slurm-drmaa.git' + + maintainers = ['pwablito'] + + version('main', branch='main', submodules=True) + version('1.1.2', sha256='5bfe25d501de83729df3c8c8f28535b9da3e99aea7738e259903abd6f1f5c836') + + # Remove this patch when it is merged into main: + patch('https://patch-diff.githubusercontent.com/raw/natefoo/slurm-drmaa/pull/62.patch', + sha256='86bba5e2683f33e59f7e9193aa5fa948eb6a5507d44768f2f6d756a33fef7b74', + when='@main') + + depends_on('autoconf', type='build', when='@main') + depends_on('automake', type='build', when='@main') + depends_on('libtool', type='build', when='@main') + depends_on('bison', type='build', when='@main') + + depends_on("slurm") + depends_on("slurm@:20-11-8-1", when='@1.1.2') + depends_on("gperf") + depends_on("ragel") + + def check(self): + pass |