diff options
author | Ben Morgan <drbenmorgan@users.noreply.github.com> | 2019-06-25 12:01:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-25 12:01:31 +0100 |
commit | 531114cd6cc52893ba4998323eed0152d68e6cda (patch) | |
tree | 4633326b094137c8e9ab84b28bec215e0c8d5175 /bin | |
parent | 30ce818fc44834d822887e812e34cbb02e5af2d0 (diff) | |
download | spack-531114cd6cc52893ba4998323eed0152d68e6cda.tar.gz spack-531114cd6cc52893ba4998323eed0152d68e6cda.tar.bz2 spack-531114cd6cc52893ba4998323eed0152d68e6cda.tar.xz spack-531114cd6cc52893ba4998323eed0152d68e6cda.zip |
fmt: Add version 5.3.0 with cxxstd variant support (#11799)
* fmt: Add cxxstd variant, plus cmake/c++ patches
Spack supported versions of fmt default to C++11 for versions
less than 5, C++14 greater than 5, with fmt implementing
fallbacks to whatever compiler supports.
To give better ABI compatibility and use of newer standards, provide
a `cxxstd` variant defaulting to 11 with 98-17 options. Use cmake_args
to set CMAKE_CXX_STANDARD as appropriate, plus use of `FMT_USE_CPP11`
option for C++98 builds. Use `conflicts` to disable use of certain
standards in versions that don't support, or fail the build, with
those standards.
Add patches to unify use of `CMAKE_CXX_STANDARD` in 3.0 versions,
remove hard-coding of compiler flags in `fmt-config.cmake`, and
prevent use of C++11 features in 4.1.0 when in supported C++98
mode.
Default to not building documents as no dependency on Doxygen is
yet present, and they are not part of the "all" build.
* Use CMake to enforce C++ standard support
Fail configure step if fmt tries to build with a cxxstd variant
not supported by the compiler (or known to CMake).
* fmt: New version 5.3.0
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions