summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")