summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortakanori-ihara <62980219+takanori-ihara@users.noreply.github.com>2020-12-14 17:29:58 +0900
committerGitHub <noreply@github.com>2020-12-14 09:29:58 +0100
commit5c43be7694fdbf76108b8dfc6c280bdd3f92fd85 (patch)
treedc1dd51dcf6cc34f46d4979a5d52003f1dd6ee62
parent12c8be73b397066ce7a2b3eaf9fc0192940797b2 (diff)
downloadspack-5c43be7694fdbf76108b8dfc6c280bdd3f92fd85.tar.gz
spack-5c43be7694fdbf76108b8dfc6c280bdd3f92fd85.tar.bz2
spack-5c43be7694fdbf76108b8dfc6c280bdd3f92fd85.tar.xz
spack-5c43be7694fdbf76108b8dfc6c280bdd3f92fd85.zip
libmaus2: new package at v2.0.767 (#20300)
-rw-r--r--var/spack/repos/builtin/packages/libmaus2/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libmaus2/package.py b/var/spack/repos/builtin/packages/libmaus2/package.py
new file mode 100644
index 0000000000..dcc24a7f4b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libmaus2/package.py
@@ -0,0 +1,27 @@
+# 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 Libmaus2(AutotoolsPackage):
+ """libmaus2 is a collection of data structures and algorithmse."""
+
+ homepage = "https://gitlab.com/german.tischler/libmaus2"
+ url = "https://gitlab.com/german.tischler/libmaus2/-/archive/2.0.767-release-20201123131410/libmaus2-2.0.767-release-20201123131410.tar.gz"
+
+ version('2.0.767', sha256='40cec9bef2fb61d8df0a35cdf76c59a1d8389686d393805138c364d0c029f03c',
+ url='https://gitlab.com/german.tischler/libmaus2/-/archive/2.0.767-release-20201123131410/libmaus2-2.0.767-release-20201123131410.tar.gz')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ conflicts('%gcc@:7.9', msg="libmaus2 uses std::filesystem. std::filesystem requires greater than or equal to GCC 8.")
+
+ def setup_build_environment(self, env):
+ if self.spec.satisfies('%gcc@8.0:8.9') or self.spec.satisfies('%fj'):
+ env.append_flags('LDFLAGS', "-lstdc++fs")