summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMIchele Martone <michelemartone@users.noreply.github.com>2020-01-14 03:46:20 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-13 20:46:20 -0600
commitfa2e094c81eea3fef7cbb741df5415118cabb4c0 (patch)
tree54d3126d5581c9a60ae3a3dc316365542b8ba545
parent6c4c26f5383740257b8bca56ce1ea9011053aff6 (diff)
downloadspack-fa2e094c81eea3fef7cbb741df5415118cabb4c0.tar.gz
spack-fa2e094c81eea3fef7cbb741df5415118cabb4c0.tar.bz2
spack-fa2e094c81eea3fef7cbb741df5415118cabb4c0.tar.xz
spack-fa2e094c81eea3fef7cbb741df5415118cabb4c0.zip
new package: librsb (#14455)
* new package: librsb * flake8, be good * no hardocded FC=gfortran
-rw-r--r--var/spack/repos/builtin/packages/librsb/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/librsb/package.py b/var/spack/repos/builtin/packages/librsb/package.py
new file mode 100644
index 0000000000..90cc5b67a8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/librsb/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2020 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 Librsb(AutotoolsPackage):
+ """librsb : A shared memory parallel sparse matrix computations
+ library for the Recursive Sparse Blocks format"""
+
+ homepage = "http://librsb.sourceforge.net/"
+ url = "http://download.sourceforge.net/librsb/librsb-1.2.0.8.tar.gz"
+ list_url = "https://sourceforge.net/projects/librsb/files/"
+
+ version('1.2.0.8', '8bebd19a1866d80ade13eabfdd0f07ae7e8a485c0b975b5d15f531ac204d80cb')
+
+ depends_on('zlib')
+ conflicts('%clang')
+
+ def configure_args(self):
+ args = [
+ '--enable-openmp',
+ '--with-zlib',
+ '--enable-fortran-module-install',
+ 'CPPFLAGS={0}'.format(self.spec['zlib'].headers.include_flags),
+ 'CFLAGS=-O3',
+ 'LDFLAGS={0}'.format(self.spec['zlib'].libs.search_flags)
+ ]
+ return args