Skip to content

Commit

Permalink
adding easyconfigs: PLINK-2.00a3.7-GCC-12.3.0.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamic committed Mar 25, 2024
1 parent ee29c4e commit d4af359
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions easybuild/easyconfigs/p/PLINK/PLINK-2.00a3.7-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Author: Ben Czaja (SURF) based on orginal from Jasper Grimm (UoY)

easyblock = 'MakeCp'

name = 'PLINK'
version = '2.00a3.7'

homepage = 'https://www.cog-genomics.org/plink/2.0/'
description = 'Whole-genome association analysis toolset'

toolchain = {'name': 'GCC', 'version': '12.3.0'}

source_urls = ['https://github.com/chrchang/plink-ng/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['145717350205f5562a01292a0fcbd617b7500758f20cad0393c7cc54665a614e']

dependencies = [
('FlexiBLAS', '3.3.1'),
('libdeflate', '1.18'),
('zstd', '1.5.5'),
]

start_dir = '2.0'

# ignore suggested Makefile in build_dynamic, the dev Makefile is better
buildopts = 'BLASFLAGS="-lflexiblas" BLASFLAGS64="-lflexiblas"'
buildopts += ' LDFLAGS="$LIBS -ldeflate -lz -lzstd" ZLIB="" CSRC="include/SFMT.c"'
buildopts += ' BASEFLAGS="$OPTFLAGS -DZSTD_MULTITHREAD"'

files_to_copy = ['bin', (['include/*.h'], 'include'), 'ReadMe.md', 'COPYING', 'COPYING.LESSER']

sanity_check_paths = {
'files': ['bin/plink2', 'bin/pgen_compress'],
'dirs': ['include'],
}

sanity_check_commands = ["plink2 --help"]

moduleclass = 'bio'

0 comments on commit d4af359

Please sign in to comment.