Skip to content

Commit b8c5839

Browse files
authored
Merge pull request #10 from boegel/20250106160051_new_pr_OpenBLAS0328
add AOCL-BLAS build dependency to FlexiBLAS 3.4.5 (only for x86_64)
2 parents 2fe7f59 + 4f4067c commit b8c5839

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
easyblock = 'ConfigureMake'
2+
3+
name = 'AOCL-BLAS'
4+
version = '5.0'
5+
6+
homepage = 'https://github.com/amd/blis'
7+
description = """AOCL-BLAS is AMD's optimized version of
8+
BLAS targeted for AMD EPYC and Ryzen CPUs."""
9+
10+
toolchain = {'name': 'GCC', 'version': '14.2.0'}
11+
source_urls = ['https://github.com/amd/blis/archive/']
12+
sources = ['%(version)s.tar.gz']
13+
checksums = ['5abb34972b88b2839709d0af8785662bc651c7806ccfa41d386d93c900169bc2']
14+
15+
builddependencies = [
16+
('Python', '3.13.1'),
17+
('Perl', '5.40.0'),
18+
]
19+
20+
configopts = '--enable-cblas --enable-threading=openmp --enable-shared CC="$CC" auto'
21+
22+
runtest = 'check'
23+
24+
sanity_check_paths = {
25+
'files': ['include/blis/cblas.h', 'include/blis/blis.h',
26+
'lib/libblis-mt.a', 'lib/libblis-mt.%s' % SHLIB_EXT],
27+
'dirs': [],
28+
}
29+
30+
modextrapaths = {MODULE_LOAD_ENV_HEADERS: 'include/blis'}
31+
32+
moduleclass = 'numlib'

easybuild/easyconfigs/f/FlexiBLAS/FlexiBLAS-3.4.5-GCC-14.2.0.eb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ builddependencies = [
1616
('Python', '3.13.1'), # required for running the tests
1717
('BLIS', '1.1'),
1818
]
19+
if ARCH == 'x86_64':
20+
builddependencies.append(('AOCL-BLAS', '5.0'))
1921

2022
dependencies = [
2123
('OpenBLAS', '0.3.29'),
@@ -27,7 +29,7 @@ local_backends = ['OpenBLAS', 'BLIS']
2729

2830
# imkl supplies its backend via the imkl module, not as a dependency
2931
if ARCH == 'x86_64':
30-
local_backends.append('imkl')
32+
local_backends.extend(['AOCL-BLAS', 'imkl'])
3133

3234
default_component_specs = {'start_dir': '%(namelower)s-%(version)s'}
3335
sanity_check_all_components = True

0 commit comments

Comments
 (0)