Openblas: add experimental BIGNUMA flag (#21393)

This commit is contained in:
iarspider 2021-02-27 13:06:29 +01:00 committed by GitHub
parent e775cbb0c0
commit edeb6c52f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ class Openblas(MakefilePackage):
variant('pic', default=True, description='Build position independent code')
variant('shared', default=True, description='Build shared libraries')
variant('consistent_fpcsr', default=False, description='Synchronize FP CSR between threads (x86/x86_64 only)')
variant('bignuma', default=False, description='Enable experimental support for up to 1024 CPUs/Cores and 128 numa nodes')
variant('locking', default=True, description='Build with thread safety')
variant(
@ -303,6 +304,9 @@ def make_defs(self):
if self.spec.satisfies('@0.3.13:'):
make_defs.append('RANLIB=ranlib')
if self.spec.satisfies('+bignuma'):
make_defs.append('BIGNUMA=1')
return make_defs
@property