Patch fmt
for hipcc/dpcpp (#33733)
* Patch fmt for hipcc/dpcpp * Add msimberg as fmt maintainer
This commit is contained in:
parent
a8470a7efe
commit
e53a19a08d
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,7 @@ class Fmt(CMakePackage):
|
|||
|
||||
homepage = "https://fmt.dev/"
|
||||
url = "https://github.com/fmtlib/fmt/releases/download/7.1.3/fmt-7.1.3.zip"
|
||||
maintainers = ["msimberg"]
|
||||
|
||||
version("9.1.0", sha256="cceb4cb9366e18a5742128cb3524ce5f50e88b476f1e54737a47ffdf4df4c996")
|
||||
version("9.0.0", sha256="fc96dd2d2fdf2bded630787adba892c23cb9e35c6fd3273c136b0c57d4651ad6")
|
||||
|
@ -70,6 +71,13 @@ class Fmt(CMakePackage):
|
|||
# Only allow [[attributes]] on C++11 and higher
|
||||
patch("fmt-attributes-cpp11_4.1.0.patch", when="@4.1.0")
|
||||
|
||||
# Fix compilation with hipcc/dpcpp: https://github.com/fmtlib/fmt/issues/3005
|
||||
patch(
|
||||
"https://github.com/fmtlib/fmt/commit/0b0f7cfbfcebd021c910078003d413354bd843e2.patch?full_index=1",
|
||||
sha256="08fb707bf8b4fc890d6eed29217ead666558cbae38f9249e22ddb82212f0eb4a",
|
||||
when="@9.0.0:9.1.0",
|
||||
)
|
||||
|
||||
def cmake_args(self):
|
||||
spec = self.spec
|
||||
args = []
|
||||
|
|
Loading…
Reference in a new issue