"{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
See {fmt} documentation for usage and details.
Note: This is the source code for the build2 package of the {fmt} C++ library,
the actual library sources snapshot can be found in the ./upstream/ submodule.
Configuration Options:
config.fmt.enable_modules : Set to true to build and provide the fmt C++ modules. If the compiler and C++ version don't support C++ modules (which is C++ > 20), this will result in a compilation failure. Set to true if $cxx.features.modules == true which means the configuration is set to enable C++ modules, false otherwise.
Reviews
Builds
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.5 |
| tgt config |
windows_10-msvc_18-static_O2 |
| timestamp |
2026-09-13 10:01:29 UTC (02 02:51:11 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.5 |
| tgt config |
windows_10-clang_21_msvc_18 |
| timestamp |
2026-09-13 10:01:17 UTC (02 02:51:23 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.5 |
| tgt config |
windows_10-msvc_18-O2 |
| timestamp |
2026-09-13 10:01:11 UTC (02 02:51:29 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.5 |
| tgt config |
windows_10-msvc_18 |
| timestamp |
2026-09-13 10:01:07 UTC (02 02:51:33 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.5 |
| tgt config |
windows_10-clang_21_msvc_18-static_O2 |
| timestamp |
2026-09-13 10:01:07 UTC (02 02:51:33 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.5 |
| tgt config |
windows_10-clang_21_msvc_18-O2 |
| timestamp |
2026-09-13 10:01:02 UTC (02 02:51:38 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-microsoft-win32-msvc14.3 |
| tgt config |
windows_10-msvc_17 |
| timestamp |
2026-09-13 10:00:49 UTC (02 02:51:51 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-w64-mingw32 |
| tgt config |
windows_10-gcc_15.2_mingw_w64-static_O2 |
| timestamp |
2026-09-11 10:13:33 UTC (04 02:39:07 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-w64-mingw32 |
| tgt config |
windows_10-gcc_15.2_mingw_w64-O2 |
| timestamp |
2026-09-11 10:13:16 UTC (04 02:39:24 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-w64-mingw32 |
| tgt config |
windows_10-gcc_15.2_mingw_w64 |
| timestamp |
2026-09-11 10:12:59 UTC (04 02:39:41 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_ubuntu_26.04-gcc_15-bindist |
| timestamp |
2026-09-11 10:04:58 UTC (04 02:47:42 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_fedora_44-gcc_16-bindist |
| timestamp |
2026-09-07 10:21:03 UTC (08 02:31:37 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin23.5.0 |
| tgt config |
macos_14-clang_15.0-static_O3 |
| timestamp |
2026-09-02 14:06:00 UTC (12 22:46:40 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin23.5.0 |
| tgt config |
macos_14-clang_15.0-O3 |
| timestamp |
2026-09-02 14:05:15 UTC (12 22:47:25 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin23.5.0 |
| tgt config |
macos_14-clang_15.0 |
| timestamp |
2026-09-02 14:04:24 UTC (12 22:48:16 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin23.5.0 |
| tgt config |
macos_14-gcc_14_homebrew-static_O3 |
| timestamp |
2026-09-02 14:01:23 UTC (12 22:51:17 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin23.5.0 |
| tgt config |
macos_14-gcc_14_homebrew-O3 |
| timestamp |
2026-09-02 14:00:37 UTC (12 22:52:03 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin23.5.0 |
| tgt config |
macos_14-gcc_14_homebrew |
| timestamp |
2026-09-02 13:59:45 UTC (12 22:52:55 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
| timestamp |
2026-09-02 13:52:03 UTC (12 23:00:37 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-clang_18_libc++-O3 |
| timestamp |
2026-09-02 13:51:42 UTC (12 23:00:58 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-clang_18_libc++ |
| timestamp |
2026-09-02 13:51:30 UTC (12 23:01:10 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-clang_18-static_O3 |
| timestamp |
2026-09-02 13:51:10 UTC (12 23:01:30 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-clang_18-O3 |
| timestamp |
2026-09-02 13:50:57 UTC (12 23:01:43 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-clang_18 |
| timestamp |
2026-09-02 13:50:36 UTC (12 23:02:04 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_22_libc++-O3 |
| timestamp |
2026-09-02 13:47:39 UTC (12 23:05:01 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_22_libc++-static_O3 |
| timestamp |
2026-09-02 13:47:32 UTC (12 23:05:08 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_22_libc++ |
| timestamp |
2026-09-02 13:47:16 UTC (12 23:05:24 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_22-static_O3 |
| timestamp |
2026-09-02 13:47:02 UTC (12 23:05:38 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_22-O3 |
| timestamp |
2026-09-02 13:46:44 UTC (12 23:05:56 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-apple-darwin22.5.0 |
| tgt config |
macos_13-clang_15.0 |
| timestamp |
2026-09-02 13:46:39 UTC (12 23:06:01 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_22 |
| timestamp |
2026-09-02 13:46:36 UTC (12 23:06:04 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_16-ndebug_O3 |
| timestamp |
2026-09-02 13:46:18 UTC (12 23:06:22 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_16-static_O3 |
| timestamp |
2026-09-02 13:45:49 UTC (12 23:06:51 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_16-O3 |
| timestamp |
2026-09-02 13:45:25 UTC (12 23:07:15 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_16 |
| timestamp |
2026-09-02 13:45:11 UTC (12 23:07:29 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-freebsd15.0 |
| tgt config |
freebsd_15-clang_19-static_O3 |
| timestamp |
2026-09-02 13:45:09 UTC (12 23:07:31 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_14-bindist |
| timestamp |
2026-09-02 13:44:58 UTC (12 23:07:42 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_21_libc++ |
| timestamp |
2026-09-02 13:44:56 UTC (12 23:07:44 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-clang_21 |
| timestamp |
2026-09-02 13:44:49 UTC (12 23:07:51 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_fedora_43-gcc_15-bindist |
| timestamp |
2026-09-02 13:44:48 UTC (12 23:07:52 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_15-O3 |
| timestamp |
2026-09-02 13:44:47 UTC (12 23:07:53 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-freebsd15.0 |
| tgt config |
freebsd_15-clang_19-O3 |
| timestamp |
2026-09-02 13:44:33 UTC (12 23:08:07 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-freebsd15.0 |
| tgt config |
freebsd_15-clang_19 |
| timestamp |
2026-09-02 13:44:32 UTC (12 23:08:08 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-freebsd14.1 |
| tgt config |
freebsd_14-clang_18 |
| timestamp |
2026-09-02 13:44:32 UTC (12 23:08:08 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_debian_13-gcc_15 |
| timestamp |
2026-09-02 13:44:31 UTC (12 23:08:09 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
x86_64-linux-gnu |
| tgt config |
linux_ubuntu_24.04-gcc_13-bindist |
| timestamp |
2026-09-02 13:44:14 UTC (12 23:08:26 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-gcc_14-static_O3 |
| timestamp |
2026-09-02 13:42:50 UTC (12 23:09:50 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-gcc_14-ndebug_O3 |
| timestamp |
2026-09-02 13:42:16 UTC (12 23:10:24 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-gcc_14 |
| timestamp |
2026-09-02 13:41:55 UTC (12 23:10:45 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-gcc_14-O3 |
| timestamp |
2026-09-02 13:41:42 UTC (12 23:10:58 days ago) |
| result |
error (configure) | log | rebuild |
| toolchain |
public-0.18.1 |
| target |
aarch64-linux-gnu |
| tgt config |
linux_debian_12-gcc_13 |
| timestamp |
2026-09-02 10:09:41 UTC (13 02:42:59 days ago) |
| result |
error (configure) | log | rebuild |