Skip to content

Commit

Permalink
avoid harcoding mpic++ and -std=c++11 -O3 in buildopts for ProBis
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel authored Sep 26, 2023
1 parent c3ca6a1 commit f85c211
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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')]

Expand Down

0 comments on commit f85c211

Please sign in to comment.