netlib-scalapack %cce: add -hnopattern to fflags (#33422)

This commit is contained in:
eugeneswalker 2022-10-22 08:10:28 -07:00 committed by GitHub
parent dc110db65d
commit 8e2696172b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,13 @@ class ScalapackBase(CMakePackage):
when="@2.2.0",
)
def flag_handler(self, name, flags):
iflags = []
if name == "fflags":
if self.spec.satisfies("%cce"):
iflags.append("-hnopattern")
return (iflags, None, None)
@property
def libs(self):
# Note that the default will be to search