Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/a/Armadillo/Armadillo-11.4.3-foss-2022a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'Armadillo'
version = '11.4.3'

homepage = 'https://arma.sourceforge.net/'
description = """Armadillo is an open-source C++ linear algebra library (matrix maths) aiming towards
a good balance between speed and ease of use. Integer, floating point and complex numbers are supported,
as well as a subset of trigonometric and statistics functions."""

toolchain = {'name': 'foss', 'version': '2022a'}

source_urls = ['https://sourceforge.net/projects/arma/files']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['87603263664988af41da2ca4f36205e36ea47a9281fa6cfd463115f3797a1da2']

builddependencies = [('CMake', '3.24.3')]

dependencies = [
('Boost', '1.79.0'),
('arpack-ng', '3.8.0'),
]

moduleclass = 'numlib'
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/p/phyx/phyx-1.3-foss-2022a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
easyblock = 'ConfigureMake'

name = 'phyx'
version = '1.3'

homepage = 'https://github.com/FePhyFoFum/%(name)s'
description = "phyx performs phylogenetics analyses on trees and sequences."

toolchain = {'name': 'foss', 'version': '2022a'}
toolchainopts = {'pic': True}

github_account = 'FePhyFoFum'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
patches = ['%(name)s-%(version)s_link_flexiblas.patch']
checksums = [
{'v1.3.tar.gz': 'b09677f98f997838b39cd2724463be06d0627ddc90a7e659dc90d4e02db624eb'},
{'phyx-1.3_link_flexiblas.patch': 'e9dc98da0f3c5df8e5b8ac3e64c2b0f77358f61fc60a4aadce5ad790b636ebdd'},
]

builddependencies = [
('Autotools', '20220317'),
]

dependencies = [
('Armadillo', '11.4.3'),
('NLopt', '2.7.1'),
]

start_dir = 'src'

preconfigopts = "autoreconf -f -i && "

preinstallopts = 'mkdir %(installdir)s/bin && '

sanity_check_paths = {
'files': ['bin/' + _exec for _exec in ["pxaa2cdn", "pxbdfit", "pxbdsim",
"pxboot", "pxbp", "pxcat", "pxclsq", "pxcltr", "pxcolt", "pxconsq",
"pxcontrates", "pxfqfilt", "pxlog", "pxlssq", "pxlstr", "pxmrca",
"pxmrcacut", "pxmrcaname", "pxnw", "pxrecode", "pxrevcomp",
"pxrls", "pxrlt", "pxrmk", "pxrms", "pxrmt", "pxrr", "pxs2fa", "pxs2nex",
"pxs2phy", "pxseqgen", "pxssort", "pxsstat", "pxstrec", "pxsw", "pxt2new",
"pxt2nex", "pxtcol", "pxtcomb", "pxtlate", "pxtrt", "pxtscale",
"pxvcf2fa"]],
'dirs': [],
}

moduleclass = 'bio'
14 changes: 14 additions & 0 deletions easybuild/easyconfigs/p/phyx/phyx-1.3_link_flexiblas.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
replace linking with lapack and blas by flexiblas
autor: Graham Derryberry
diff -Naur phyx-1.3.orig/src/Makefile.in phyx-1.3/src/Makefile.in
--- phyx-1.3.orig/src/Makefile.in 2023-04-12 22:44:14.000000000 -0400
+++ phyx-1.3/src/Makefile.in 2023-04-13 09:57:34.000000000 -0400
@@ -17,7 +17,7 @@
HARM := @HARM@
HOMP := @HOMP@

-CPP_LIBS = -llapack -lblas -lpthread -lm
+CPP_LIBS = -lflexiblas -lpthread -lm
ifeq "$(HNLOPT)" "Y"
CPP_LIBS += -lnlopt
endif