summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnehring <snehring@users.noreply.github.com>2021-12-24 10:41:07 -0600
committerGitHub <noreply@github.com>2021-12-24 09:41:07 -0700
commit7fa31911fe43175da1597adefcfc4b4494ac05f3 (patch)
treeff751c0efbeb300945091fe79e40b5b133a23d4c
parentf181b6fef6da3b576b267799d9c47fa5c8ade67a (diff)
downloadspack-7fa31911fe43175da1597adefcfc4b4494ac05f3.tar.gz
spack-7fa31911fe43175da1597adefcfc4b4494ac05f3.tar.bz2
spack-7fa31911fe43175da1597adefcfc4b4494ac05f3.tar.xz
spack-7fa31911fe43175da1597adefcfc4b4494ac05f3.zip
satsuma2: add v2021-03-04 and build error fix (#28120)
-rw-r--r--var/spack/repos/builtin/packages/satsuma2/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/satsuma2/package.py b/var/spack/repos/builtin/packages/satsuma2/package.py
index 9216e0f3bc..728231c045 100644
--- a/var/spack/repos/builtin/packages/satsuma2/package.py
+++ b/var/spack/repos/builtin/packages/satsuma2/package.py
@@ -16,7 +16,14 @@ class Satsuma2(CMakePackage):
homepage = "https://github.com/bioinfologics/satsuma2"
git = "https://github.com/bioinfologics/satsuma2.git"
+ version('2021-03-04', commit='37c5f386819614cd3ce96016b423ddc4df1d86ec')
version('2016-11-22', commit='da694aeecf352e344b790bea4a7aaa529f5b69e6')
+ maintainers = ['snehring']
+
+ def patch(self):
+ filter_file('(^#include <unistd.h>$)', '\\1\n#include <memory>',
+ 'analysis/SatsumaSynteny2.cc')
+
def install(self, spec, prefix):
install_tree(join_path(self.build_directory, 'bin'), prefix.bin)