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:
parent
0cc5f629a6
commit
f4e4dba4ef
@ -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')
|
Loading…
Reference in New Issue
Block a user