"{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-w64-mingw32 |
| tgt config |
windows_10-gcc_15.2_mingw_w64-O2 |
| timestamp |
2026-09-11 10:14:19 UTC (05:48:37 hours 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:14:02 UTC (05:48:55 hours 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:13:57 UTC (05:48:59 hours 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:05:26 UTC (05:57:31 hours 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:40 UTC (04 05:41:17 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:08:26 UTC (09 01:54:30 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:07:38 UTC (09 01:55:19 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:06:52 UTC (09 01:56:05 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:03:47 UTC (09 01:59:10 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:03:01 UTC (09 01:59:56 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 14:02:14 UTC (09 02:00:43 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:53:48 UTC (09 02:09:09 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:53:22 UTC (09 02:09:35 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:53:14 UTC (09 02:09:42 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:52:48 UTC (09 02:10:09 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:52:38 UTC (09 02:10:19 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:52:16 UTC (09 02:10:41 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:49:08 UTC (09 02:13:49 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:48:55 UTC (09 02:14: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-static_O3 |
| timestamp |
2026-09-02 13:48:34 UTC (09 02:14:23 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:48:20 UTC (09 02:14:37 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:48:17 UTC (09 02:14:40 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:47:51 UTC (09 02:15:05 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:47:29 UTC (09 02:15:28 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:47:25 UTC (09 02:15:32 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:47:12 UTC (09 02:15:45 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:47:07 UTC (09 02:15:50 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:46:27 UTC (09 02:16:30 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:45:46 UTC (09 02:17:11 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:46 UTC (09 02:17:11 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:45:44 UTC (09 02:17:13 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:45:39 UTC (09 02:17:18 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:45:31 UTC (09 02:17:25 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:45:30 UTC (09 02:17:26 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:45:26 UTC (09 02:17:31 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:45:16 UTC (09 02:17:40 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:58 UTC (09 02:17:59 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:50 UTC (09 02:18:07 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:02 UTC (09 02:18:54 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:43:47 UTC (09 02:19:09 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:43:21 UTC (09 02:19:35 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:43:11 UTC (09 02:19:45 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:42:33 UTC (09 02:20:24 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:10:14 UTC (09 05:52:42 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-static_O2 |
| timestamp |
2026-08-30 10:17:04 UTC (12 05:45:52 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-08-30 10:16:55 UTC (12 05:46:02 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-08-30 10:16:53 UTC (12 05:46:03 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-08-30 10:16:48 UTC (12 05:46:08 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-08-30 10:16:46 UTC (12 05:46: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-O2 |
| timestamp |
2026-08-30 10:16:38 UTC (12 05:46:18 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-08-30 10:16:08 UTC (12 05:46:49 days ago) |
| result |
error (configure) | log | rebuild |