fmt: Add patch to allow compilation with clang in CUDA mode (#41578)
This commit is contained in:
parent
b82bd8e6b6
commit
27c0dab5ca
@ -84,6 +84,13 @@ class Fmt(CMakePackage):
|
||||
when="@9.0.0:9.1.0",
|
||||
)
|
||||
|
||||
# Fix compilation with clang in CUDA mode: https://github.com/fmtlib/fmt/issues/3740
|
||||
patch(
|
||||
"https://github.com/fmtlib/fmt/commit/89860eb9013a345608c8144b1aad5f12b0682d7e.patch?full_index=1",
|
||||
sha256="6ef12fe60a2b3625139c6d29c748dafd81b51e2a0690c1fa37604ed5b15615e0",
|
||||
when="@10.0.0:10.1.1",
|
||||
)
|
||||
|
||||
def cmake_args(self):
|
||||
spec = self.spec
|
||||
args = []
|
||||
|
Loading…
Reference in New Issue
Block a user