spack/var/spack/repos/builtin/packages/bmi/package.py

26 lines
762 B
Python

# Copyright 2013-2019 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 Bmi(AutotoolsPackage):
"""a communications framework and network abstraction layer"""
homepage = 'https://xgitlab.cels.anl.gov/sds/bmi'
git = 'https://xgitlab.cels.anl.gov/sds/bmi.git'
version('develop', branch='master')
depends_on('autoconf', type='build')
# need to override 'autoreconf' so we can run BMI's 'prepare' script
def autoreconf(self, spec, prefix):
Executable('./prepare')()
def configure_args(self):
args = ["--enable-shared", "--enable-bmi-only"]
return args