From f85c211243876ae8772572decbc49786160413e2 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Tue, 26 Sep 2023 16:56:28 +0200 Subject: [PATCH] avoid harcoding `mpic++` and `-std=c++11 -O3` in buildopts for ProBis --- easybuild/easyconfigs/p/ProBiS/ProBiS-20230403-gompi-2022b.eb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/p/ProBiS/ProBiS-20230403-gompi-2022b.eb b/easybuild/easyconfigs/p/ProBiS/ProBiS-20230403-gompi-2022b.eb index b8d9926b1fe..cc6a507d9e2 100644 --- a/easybuild/easyconfigs/p/ProBiS/ProBiS-20230403-gompi-2022b.eb +++ b/easybuild/easyconfigs/p/ProBiS/ProBiS-20230403-gompi-2022b.eb @@ -9,6 +9,7 @@ description = """ProBiS algorithm aligns and superimposes complete protein surfa surface motifs, or protein binding sites.""" toolchain = {'name': 'gompi', 'version': '2022b'} +toolchainopts = {'cstd': 'c++11'} source_urls = ['https://gitlab.com/janezkonc/probis/-/archive/master/'] sources = ['%s.tar.gz' % local_commit] @@ -18,7 +19,7 @@ dependencies = [ ('GSL', '2.7'), ] -buildopts = 'probis CC="mpic++" CFLAGS="-std=c++11 -O3 -Wall -Wno-unused-function -DNDEBUG -pthread"' +buildopts = 'probis CC="$MPICXX" CFLAGS="$CFLAGS -Wall -Wno-unused-function -DNDEBUG -pthread"' files_to_copy = [(['probis'], 'bin')]