summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Young <A-N-Other@users.noreply.github.com>2023-06-26 13:59:05 +0100
committerGitHub <noreply@github.com>2023-06-26 14:59:05 +0200
commit105ac0c3772ae45cca1f0b28bf4e677bd9703052 (patch)
treebe0732d94ff0752cb88320a988dc6c2266d69354 /var
parent1949f67a7111a810dbc6f5e6d6624e003434c229 (diff)
downloadspack-105ac0c3772ae45cca1f0b28bf4e677bd9703052.tar.gz
spack-105ac0c3772ae45cca1f0b28bf4e677bd9703052.tar.bz2
spack-105ac0c3772ae45cca1f0b28bf4e677bd9703052.tar.xz
spack-105ac0c3772ae45cca1f0b28bf4e677bd9703052.zip
mmseqs2: patching to support building with %gcc@13: (#38296)
Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mmseqs2/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mmseqs2/package.py b/var/spack/repos/builtin/packages/mmseqs2/package.py
index 5ff1de3314..a081a416e5 100644
--- a/var/spack/repos/builtin/packages/mmseqs2/package.py
+++ b/var/spack/repos/builtin/packages/mmseqs2/package.py
@@ -23,6 +23,14 @@ class Mmseqs2(CMakePackage):
depends_on("zstd")
depends_on("mpi", when="+mpi")
+ # patch to support building with gcc@13:
+ patch(
+ "https://github.com/soedinglab/MMseqs2/commit/3e43617.patch?full_index=1",
+ sha256="673737ac545260e7800ca191c6eee14feef3318d9cfa5005db32bd2ab3c006fe",
+ when="%gcc@13:",
+ level=1,
+ )
+
# apple-clang will build with +openmp with llvm-openmp as a dependency
# however when running with real data, it threw segmentation faults
conflicts("%apple-clang", when="+openmp")