diff options
author | Mikael Simberg <mikael.simberg@iki.fi> | 2022-11-08 21:14:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 12:14:14 -0800 |
commit | e53a19a08d7be15f762e6115745b05f88058fc9f (patch) | |
tree | 394ef0894ca7f64029746163465ec480e9f653a9 | |
parent | a8470a7efed2bb0a39d2c3e9e6bae642c110e7ca (diff) | |
download | spack-e53a19a08d7be15f762e6115745b05f88058fc9f.tar.gz spack-e53a19a08d7be15f762e6115745b05f88058fc9f.tar.bz2 spack-e53a19a08d7be15f762e6115745b05f88058fc9f.tar.xz spack-e53a19a08d7be15f762e6115745b05f88058fc9f.zip |
Patch `fmt` for hipcc/dpcpp (#33733)
* Patch fmt for hipcc/dpcpp
* Add msimberg as fmt maintainer
-rw-r--r-- | var/spack/repos/builtin/packages/fmt/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fmt/package.py b/var/spack/repos/builtin/packages/fmt/package.py index 7a79ad0da6..0c51c1a5af 100644 --- a/var/spack/repos/builtin/packages/fmt/package.py +++ b/var/spack/repos/builtin/packages/fmt/package.py @@ -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 = [] |