blob: 9795f1a45168186478f5098b705b75af393006b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2013-2023 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.package import *
class Wtdbg2(MakefilePackage):
"""A fuzzy Bruijn graph approach to long noisy reads assembly"""
homepage = "https://github.com/ruanjue/wtdbg2"
url = "https://github.com/ruanjue/wtdbg2/archive/v2.3.tar.gz"
version("2.3", sha256="fb61d38a4c60a39b3b194e63b855141c05ddcbe71cf244ae613766a9b0a56621")
depends_on("zlib-api")
depends_on("sse2neon", when="target=aarch64:")
patch("for_aarch64.patch", when="target=aarch64:")
def edit(self, spec, prefix):
if spec.target.family == "aarch64":
makefile = FileFilter("Makefile")
makefile.filter("-mpopcnt -msse4.2", "")
def install(self, spec, prefix):
make("install", "BIN=%s" % prefix.bin)
|