silo: correct clang-related patch (#23361)

This commit is contained in:
Erik Schnetter 2021-05-03 10:15:44 -04:00 committed by GitHub
parent 913bff0f67
commit 94f66d8ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,10 @@ def clang_9_patch(self):
# hasn't yet made it into silo.
# https://github.com/LLNL/fpzip/blob/master/src/pcmap.h
if self.spec.satisfies('@4.10.2-bsd'):
# The files below don't exist in the BSD licenced version
return
def repl(match):
# Change macro-like uppercase to title-case.
return match.group(1).title()