Skip to content

Commit 0b7b6b5

Browse files
authored
Merge pull request #3605 from lcniel/patch-1
Fix bug in FlexiBLAS easyblock to allow AOCL-BLAS to be default
2 parents 1f30a51 + 127f3f3 commit 0b7b6b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

easybuild/easyblocks/f/flexiblas.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@ def configure_step(self):
109109
unsupported_libs = [x for x in self.blas_libs if x not in supported_blas_libs]
110110
if unsupported_libs:
111111
raise EasyBuildError("One or more unsupported libraries used: %s", ', '.join(unsupported_libs))
112+
# need to use CMake naming convention
112113
if 'AOCL-BLAS' in self.blas_libs:
113114
self.blas_libs[self.blas_libs.index('AOCL-BLAS')] = 'AOCL_mt'
115+
if configopts['FLEXIBLAS_DEFAULT'] == 'AOCL-BLAS':
116+
configopts['FLEXIBLAS_DEFAULT'] = 'AOCL_mt'
114117
# list of BLAS libraries to use is specified via -DEXTRA=...
115118
configopts['EXTRA'] = ';'.join(self.blas_libs)
116119

0 commit comments

Comments
 (0)