Update fckit to build with Intel oneAPI compilers (icx, icpx) (#45196)
This commit is contained in:
parent
e464461c19
commit
67cb19614e
@ -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++"
|
||||
|
Loading…
Reference in New Issue
Block a user