summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMosè Giordano <giordano@users.noreply.github.com>2021-02-20 23:14:16 +0000
committerGitHub <noreply@github.com>2021-02-20 23:14:16 +0000
commitf4e4dba4ef3f7fba4baf3bf0ac82f7d831608237 (patch)
tree9e7e0aa65fbe5de8166e73f6b3a23defa972f5e9 /var
parent0cc5f629a627c2d3bdcd79ac2c4c441a4b1d4e6b (diff)
downloadspack-f4e4dba4ef3f7fba4baf3bf0ac82f7d831608237.tar.gz
spack-f4e4dba4ef3f7fba4baf3bf0ac82f7d831608237.tar.bz2
spack-f4e4dba4ef3f7fba4baf3bf0ac82f7d831608237.tar.xz
spack-f4e4dba4ef3f7fba4baf3bf0ac82f7d831608237.zip
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>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libblastrampoline/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libblastrampoline/package.py b/var/spack/repos/builtin/packages/libblastrampoline/package.py
new file mode 100644
index 0000000000..be047e6fb7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libblastrampoline/package.py
@@ -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')