libblastrampoline: new package (#21825)

* libblastrampoline: new package

* Apply suggestions from code review

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Mosè Giordano 2021-02-20 23:14:16 +00:00 committed by GitHub
parent 0cc5f629a6
commit f4e4dba4ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 Libblastrampoline(MakefilePackage):
"""Using PLT trampolines to provide a BLAS and LAPACK demuxing library."""
homepage = "https://github.com/staticfloat/libblastrampoline"
git = "https://github.com/staticfloat/libblastrampoline.git"
version('2.2.0', commit='45f4a20ffdba5d368db66d71885312f5f73c2dc7')
build_directory = 'src'
def install(self, spec, prefix):
with working_dir(self.build_directory):
make('prefix={0}'.format(prefix), 'install')