Update fckit to build with Intel oneAPI compilers (icx, icpx) (#45196)

This commit is contained in:
Dom Heinzeller 2024-07-12 13:37:58 -06:00 committed by GitHub
parent e464461c19
commit 67cb19614e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,12 @@ def cmake_args(self):
# See comment above (conflicts for finalize_ddts)
args.append("-DENABLE_FINAL=OFF")
if self.spec.satisfies("%intel") or self.spec.satisfies("%gcc"):
if (
self.spec.satisfies("%intel")
or self.spec.satisfies("%oneapi")
or self.spec.satisfies("%gcc")
or self.spec.satisfies("%nvhpc")
):
cxxlib = "stdc++"
elif self.spec.satisfies("%clang") or self.spec.satisfies("%apple-clang"):
cxxlib = "c++"