Skip to content

Commit

Permalink
Merge pull request #22434 from PetrKralCZ/20250303134430_new_pr_MEGAH…
Browse files Browse the repository at this point in the history
…IT129

{bio}[GCCcore/13.3.0] MEGAHIT v1.2.9
  • Loading branch information
smoors authored Mar 3, 2025
2 parents 7375c66 + 6a8dd92 commit 4af6d11
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions easybuild/easyconfigs/m/MEGAHIT/MEGAHIT-1.2.9-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
easyblock = 'CMakeMake'

name = 'MEGAHIT'
version = '1.2.9'

homepage = 'https://github.com/voutcn/megahit'
description = """An ultra-fast single-node solution for large and complex
metagenomics assembly via succinct de Bruijn graph"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/voutcn/%(namelower)s/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['09026eb07cc4e2d24f58b0a13f7a826ae8bb73da735a47cb1cbe6e4693118852']

builddependencies = [
('binutils', '2.42'),
('CMake', '3.29.3'),
('zlib', '1.3.1'),
]

dependencies = [
('Python', '3.12.3'),
('bzip2', '1.0.8'),
('gzip', '1.13'),
]

# fix the `error: uint32_t does not name a type` error
prebuildopts = "sed -i 's/#include <string>/#include <string>\\n#include <cstdint>/g' "
prebuildopts += "%(builddir)s/%(namelower)s-%(version)s/src/localasm/local_assemble.h && "

sanity_check_paths = {
'files': [
'bin/%(namelower)s',
'bin/%(namelower)s_core',
'bin/%(namelower)s_core_no_hw_accel',
'bin/%(namelower)s_core_popcnt',
'bin/%(namelower)s_toolkit',
],
'dirs': [],
}

sanity_check_commands = [
"megahit --version",
"megahit --test",
]

moduleclass = 'bio'

0 comments on commit 4af6d11

Please sign in to comment.