amdblis recipe: adding variant for a performance flag (#39549)
* amdblis recipe: adding variant for a performance flag Signed-off-by: Dr Marco De La Pierre <marco.delapierre@gmail.com> * typo fix Signed-off-by: Dr Marco De La Pierre <marco.delapierre@gmail.com> * style fix Signed-off-by: Dr Marco De La Pierre <marco.delapierre@gmail.com> * another typo fix Signed-off-by: Dr Marco De La Pierre <marco.delapierre@gmail.com> * one more style fix Signed-off-by: Dr Marco De La Pierre <marco.delapierre@gmail.com> --------- Signed-off-by: Dr Marco De La Pierre <marco.delapierre@gmail.com>
This commit is contained in:
parent
8def75b414
commit
696d4a1b85
@ -40,6 +40,7 @@ class Amdblis(BlisBase):
|
||||
version("2.2", sha256="e1feb60ac919cf6d233c43c424f6a8a11eab2c62c2c6e3f2652c15ee9063c0c9")
|
||||
|
||||
variant("ilp64", default=False, when="@3.0.1:", description="ILP64 support")
|
||||
variant("suphandling", default=True, description="Small Unpacked Kernel handling")
|
||||
|
||||
def configure_args(self):
|
||||
spec = self.spec
|
||||
@ -48,6 +49,11 @@ def configure_args(self):
|
||||
if spec.satisfies("+ilp64"):
|
||||
args.append("--blas-int-size=64")
|
||||
|
||||
if spec.satisfies("+suphandling"):
|
||||
args.append("--enable-sup-handling")
|
||||
else:
|
||||
args.append("--disable-sup-handling")
|
||||
|
||||
# To enable Fortran to C calling convention for
|
||||
# complex types when compiling with aocc flang
|
||||
if self.spec.satisfies("@3.0 %aocc"):
|
||||
|
Loading…
Reference in New Issue
Block a user