clfft: workaround compiler error (#42519)

This commit is contained in:
Henri Menke 2024-02-13 08:10:51 +01:00 committed by GitHub
parent 4d7898a669
commit e37c099ddb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,12 @@ class Clfft(CMakePackage):
root_cmakelists_dir = "src"
def flag_handler(self, name, flags):
if name == "cxxflags":
# https://github.com/clMathLibraries/clFFT/issues/237
flags.append("-fpermissive")
return (flags, None, None)
def cmake_args(self):
args = [
self.define_from_variant("BUILD_CLIENT", "client"),